-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeCoach.py
122 lines (77 loc) · 1.7 KB
/
codeCoach.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
## Made By Thoriq As
##! Easy Problem
# TODO: Popsicles
siblings = int(input())
popsicles = int(input())
if popsicles % siblings == 0:
print('give away')
else:
print('eat them yourself')
# TODO: Hallowen Candy
import math
houses = int(input())
result= houses/2
hasil=100/result
print(math.ceil(hasil))
# TODO: Fruit Bowl
fruit = int(input())
x = fruit//2
print(x//3)
# TODO: Cheer Creator
yards =int(input())
if yards >10:
print("High Five")
elif yards>1 and yards <=10:
print("Ra!" * yards )
elif yards <= 1:
print("shh" )
# TODO: Skee-Ball
score = int(input())
squirtGun = int(input())
ticket = score/12
if(ticket >= squirtGun):
print("Buy it!")
else:
print("Try again")
# TODO: Paint costs
inputColor = int(input("How much color you need? "))
import math
total = (5.00 * inputColor) + 40.00
tax = (total * 10//100)
print(math.ceil(total + tax))
# TODO: Store Argentina
inputPesos = int(input())
inputDollar = int(input())
exchange = inputPesos//50;
if(inputDollar > exchange):
print("Pesos")
else:
print("Dollars")
# TODO: Gotham City
inputCriminals = int(input())
if inputCriminals < 5:
print("I got this!")
elif inputCriminals >= 5 and inputCriminals <=10:
print("Help me Batman")
else:
print("Good Luck out")
# TODO: Hovercraft
inputHovercrafts = int(input())
spent = 21000000
sell = 3000000 * inputHovercrafts
if sell > spent:
print("Profit")
elif spent > sell:
print("Loss")
else:
print("Broke Even")
# TODO: Jungle Camping
noise = input()
a = noise.replace('Grr', 'Lion')
b = a.replace('Rawr', 'Tiger')
c = b.replace('Ssss', 'Snake')
d = c.replace('Chirp', 'Bird')
print(d)
# TODO: Extra-Terrestrials
print(input()[::-1])
#! End Easy Problem