编写题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:score = list(map(int, input().split())) if min(score) < 60: if max(score) >= 60…… 题解列表 2023年12月17日 1 点赞 0 评论 352 浏览 评分:10.0
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:import sysa , b = map(int,input().strip().split())if a < 0 or a > 100 or b < 0 or b >…… 题解列表 2022年11月29日 0 点赞 2 评论 601 浏览 评分:9.9
编写题解 2787: 有一门课不及格的学生 摘要:解题思路:判断语句注意事项:判断他是否恰好有一门课不及格参考代码:ch, ma = map(int, input().split()) if ch < 60 and ma >= 60 : …… 题解列表 2024年03月06日 1 点赞 0 评论 663 浏览 评分:4.0
编写题解 2787: 有一门课不及格的学生 摘要:解题思路:两个恰好有一个,联想到异或门,当两变量不同时为一,相同时为零注意事项:参考代码:a,b=map(int,input().strip().split())if (a>=60)^(b>=60)=…… 题解列表 2024年12月22日 0 点赞 0 评论 332 浏览 评分:0.0
很容易理解的一种做法 摘要:解题思路:注意事项:注意“==”和“=”参考代码:a,b = map(int,input().split())if a >= 60: a = 1else: …… 题解列表 2025年02月23日 0 点赞 0 评论 316 浏览 评分:0.0
Py2787-有一门课不及格的学生-步骤清晰 摘要:解题思路:先求出小于60分的数量,数量为1输出1,否则0参考代码:arr=list(map(int,input().split()))num=&nb…… 题解列表 2025年11月06日 0 点赞 0 评论 113 浏览 评分:0.0