叶花永不相见
叶花永不相见
全部文章
分类
题解(183)
归档
标签
去牛客网
登录
/
注册
叶花永不相见的博客
全部文章
(共50篇)
题解 | #健康评估#
w,h = map(float, input().split()) bmi = w/(h**2) if 18.5 <= bmi <= 23.9: print("Normal") else: print("Abnormal")
Python3
2022-06-13
0
266
题解 | #四季#
m = int(input()[-2:]) if 3 <= m <= 5: print("spring") elif 6 <= m <= 8: print("summer") elif 9 <= m <= 11: print("autumn...
Python3
2022-06-13
0
264
题解 | #判断闰年#
n = int(input()) if (n % 4 == 0 and n % 100 != 0) or n % 400 == 0: print("yes") else: print("no")
Python3
2022-06-12
0
296
题解 | #牛牛的判断题#
x,l,r = map(int, input().split()) if l <= x <= r: print("true") else: print("false")
Python3
2022-06-12
0
398
题解 | #判断是元音还是辅音#
while True: try: a = input() if a.lower() in ('a','e','i','o','u'): print("Vowel") else: print("Co...
Python3
2022-06-12
0
292
题解 | #判断整数奇偶性#
while True: try: n = int(input()) if n % 2 == 0: print("Even") else: print("Odd") except: ...
Python3
2022-06-12
0
317
题解 | #及格分数#
while True: try: score = int(input()) if score >= 60: print("Pass") else: print("Fail") exc...
Python3
2022-06-11
0
336
题解 | #你是天才吗?#
while True: try: a = int(input()) if a >= 140: print("Genius") except: break
Python3
2022-06-11
0
300
题解 | #小乐乐改数字#
n = input() for i in n: if int(i)%2 == 0: n = n.replace(i,'0') else: n = n.replace(i,'1') print(int(n))
Python3
2022-04-20
0
347
题解 | #小乐乐与欧几里得#
n, m = map(int, input().split()) p = n * m tmp=n % m while tmp != 0: n = m m = tmp tmp = n % m max = m min = p//max print(max+min)
Python3
2022-04-19
0
306
首页
上一页
1
2
3
4
5
下一页
末页