Discuss / Python / 完成

完成

Topic source

山传松鹤

#1 Created at ... [Delete] [Delete and Lock User]
s1=72s2=85r=(s2-s1)/s1*100print('小明的成绩从去年的%2d分提升到了今年的%2d分,小明的成绩提升了%.1f%%' %(s1,s2,r))

  • 1

Reply