找回密码
 中文实名注册
查看: 208|回复: 0

《代 码》

[复制链接]

17

主题

79

帖子

1682

积分

金牌会员

Rank: 6Rank: 6

积分
1682
发表于 2022-6-11 17:25:45 | 显示全部楼层 |阅读模式
  1. cn=input('请输入语文')
  2. en =input ('请输入英语')
  3. ma =input ('请输入数学')
  4. total = int(cn)  + int (en) + int(ma)
  5. if total == 300:
  6.     print('保送北大')
  7. elif total >= 180:
  8.     print('勉强过关')
  9. else :
  10.     print('建议退学')
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 中文实名注册

本版积分规则

小黑屋|东台市机器人学会 ( 苏ICP备2021035350号-1;苏ICP备2021035350号-2;苏ICP备2021035350号-3 )

GMT+8, 2024-3-28 19:35 , Processed in 0.050744 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表