Discuss / Python / 两种方法

两种方法

Topic source

print('小明今年成绩提升了%.1f%%' % ((85-72)/72100)) print('小明今年成绩提升了{0:.1f}%'.format(((85-72)/72100)))


  • 1

Reply