Discuss / Python / 打卡

打卡

Topic source

percent = (85 - 72) / 72 * 100

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

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

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


  • 1

Reply