源代码
x = round(3.1415926, 2) print(x)
运行结果