percent = (85 - 72) / 72 * 100
print('%.1f%%' % percent)
print('{0:.1f}%'.format(percent))
print(f'{percent:.1f}%')
Sign in to make a reply
「初守ღ」
percent = (85 - 72) / 72 * 100
print('%.1f%%' % percent)
print('{0:.1f}%'.format(percent))
print(f'{percent:.1f}%')