Discuss / Python / 学习完毕

学习完毕

Topic source

黑烏鴉

#1 Created at ... [Delete] [Delete and Lock User]

r = (85-72)/72*100

print('%.1f%%' %r)

print('{0:.1f}%'.format(r))

print(f'{r:.1f}%')


  • 1

Reply