Discuss / Python / 交作业

交作业

Topic source

超神的MT

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

-- coding: utf-8 --

s1=input('请输入原成绩') s2=input('请输入现成绩') r=(float(s2)-float(s1))/float(s1)*100 print('%.1f%%'%r)

good


  • 1

Reply