1 #!/usr/bin/env python 2 r = round(3.6) 3 #四舍五入 4 print(r)
C:Python35python3.exe F:/Python/2day/c7.py 4 Process finished with exit code 0