Discuss / Python / 算成绩提升百分比

算成绩提升百分比

Topic source

s1=72

s2=85

r=(s2-s1)/s1*100

print(f"小明成绩提升了{r:.1f}"+"%")


  • 1

Reply