-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhw4.py
More file actions
91 lines (71 loc) · 1.28 KB
/
hw4.py
File metadata and controls
91 lines (71 loc) · 1.28 KB
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
86
87
88
89
90
91
'''
1.
A = int(input())
if A == 1 : print("January")
elif A == 2 : print("February")
elif A == 3 : print("March")
elif A == 4 : print("April")
elif A == 5 : print("May")
elif A == 6 : print("June")
elif A == 7 : print("July")
elif A == 8 : print("August")
elif A == 9 : print("September")
elif A == 10 : print("October")
elif A == 11 : print("November")
elif A == 12 : print("December")
'''
'''
2.
pp = int(input())
tg = int(input())
if pp == 0 and tg == 1:
print("1")
else:
print("0")
'''
'''
3.
A = int(input())
if A == 1 or A == 3 or A == 5 or A == 7 or A == 8 or A == 10 or A == 12:
print("31")
elif A == 2:
print("28")
else:
print("30")
'''
'''
4.MAX
A = int(input())
B = int(input())
C = int(input())
if A >= B and A >= C :
print(A)
elif B >= C and B >= A:
print(B)
else :
print(C)
'''
'''
5.MIN
A = int(input())
B = int(input())
C = int(input())
if A <= B and A <= C :
print(A)
elif B <= C and B <= A:
print(B)
else :
print(C)
'''
"""
6.
"""
sold = int(input())
if sold >= 500000 and sold < 1000000:
print("gold")
elif sold >= 1000000 and sold < 10000000:
print("platinum")
elif sold >= 10000000:
print("diamond")
else:
print("None")