Discuss / Python / 交作业

交作业

Topic source

徐凑合儿

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

sg = 1.75 tg = 80.5 s = (tg/(sg*2)) if s <= 18.5: print('过轻') elif s <= 25: print('正常') elif s <= 28: print('过重') elif s <= 32: print('肥胖') else: print('严重肥胖')


  • 1

Reply