melon.
melon.
全部文章
分类
归档
标签
去牛客网
登录
/
注册
melon.的博客
全部文章
(共117篇)
题解 | #判断字母#
s = input() print('YES') if s.isalpha() else print('NO')
2023-02-06
1
248
题解 | #牛牛的判断题#
x,l,r = map(int,input().split()) print('true') if l <= x <= r else print('false')
2023-02-06
1
212
题解 | #判断是元音还是辅音#
lst = ['a','e','i','o','u'] while 1: try: n = input().lower() print('Vowel') if n in lst else print('Consonant') except: ...
2023-02-06
1
185
题解 | #判断整数奇偶性#
while 1: try: a = int(input()) print('Even') if a % 2 == 0 else print('Odd') except: break
2023-02-06
1
231
题解 | #你是天才吗?#
a = int(input()) if a >= 140: print('Genius')
2023-02-06
1
280
题解 | #kiki算数#
a,b = map(int,input().split()) c = a + b if c >= 100: c = str(c)[-2:] if c[0] == '0': c = c[-1] print(c)
2023-02-06
1
193
题解 | #牛牛的线段#
x1,y1 = map(int,input().split()) x2,y2 = map(int,input().split()) result = (x1-x2)**2 + (y1-y2)**2 print(result)
2023-02-06
1
284
题解 | #(a+b-c)*d的计算问题#
a,b,c,d = map(int,input().split()) result = (a+b-c) * d print(result)
2023-02-06
1
235
题解 | #KiKi算期末成绩#
a,b,c,d = map(int,input().split()) score = a*0.2 + b*0.1 + c*0.2 + d*0.5 print(f'{score:.1f}')
2023-02-06
1
268
题解 | #计算带余除法#
a,b = map(int,input().split()) print(a // b,a % b)
2023-01-18
1
294
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页