Discuss / Python / heihei

heihei

Topic source

128路ttx

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

print('请输入你的名字') name = input() a = int(input('%s,你好,请告诉我你去年的成绩:'%(name))) b = int(input('%s, 请告诉我你今年的成绩:'%(name))) print(name,'成绩提升的百分点为%.2f%%' %((b-a)/b100)) r = (b-a)/b100 if r>= 10 and b>50: print('666',name) else: print('提升幅度较小,还要多多努力哦')

厉害了完全看不懂

Joe_haivo

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

%((b-a)/b*100)

%(b-a)


  • 1

Reply