#方法1:
print("%.1f" % 0.13333)

#方法2
print("{:.1f}".format(0.13333))    

#方法3
round(0.13333, 1)

  

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
猜你喜欢
  • 2022-01-14
  • 2021-08-06
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案