"""example07 - 浮点运算的坑Author: Master.YSDate: 2022/3/24"""# 浮点运的错误是计算机语言造成的,与编程语言无关print(0.1 + 0.2) # 0.30000000000000004print(0.1 + 0.2 + 0.3) # 0.6000000000000001print(0.3 + 0.2 + 0.1) # 0.6