0
Why my code gets error on test #3 for skee_ball task?
score = int(input()) ticket = int(score // 12) if ticket < 40 and score < 480: print("Try again") elif ticket > 40 and score >= 480: print("Buy it!")
7 Respuestas
+ 2
Avoid using magic numbers
0
I was tried that too...but its not working
0
It's a task in code coach
- 2
points = int(input())
cost = int(input())
sum = points / 12
if (int(sum) >= cost):
print("Buy it!")
elif (int(sum) < cost):
print("Try again")