-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path6066_6070.py
85 lines (85 loc) · 1.42 KB
/
6066_6070.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# 6066
a, b, c = map(int, input().split())
if a%2 == 0:
print('even')
else:
print('odd')
if b%2 == 0:
print('even')
else:
print('odd')
if c%2 == 0:
print('even')
else:
print('odd')
data = input().split()
for i in data:
if(int(i) % 2 == 0):
print('even')
else:
print('odd')
# 6067
num = int(input())
# if num != 0:
if num < 0:
if num % 2 == 0:
print('A')
else:
print('B')
else:
if (num % 2 == 0):
print('C')
else:
print('D')
data = int(input())
if(data % 2 == 0 and data < 0):
print('A')
elif(data % 2 != 0 and data < 0):
print('B')
elif(data % 2 == 0 and data > 0):
print('C')
elif(data % 2 != 0 and data > 0):
print('D')
# 6068
score = int(input())
if score >= 90:
print('A')
else:
if score >= 70:
print('B')
else:
if score >= 40:
print('C')
else:
print('D')
score = int(input())
if(score >= 90):
print('A')
elif(score >= 70):
print('B')
elif(score >= 40):
print('C')
elif(score >= 0):
print('D')
# 6069
score = input()
if score == "A":
print("best!!!")
elif score == "B":
print("good!!")
elif score == "C":
print("run!")
elif score == "D":
print("slowly~")
else:
print("what?")
# 6070
mth = int(input())
if mth//3 == 1:
print('spring')
elif mth//3 == 2:
print('summer')
elif mth//3 == 3:
print('fall')
else:
print('winter')