0

Skee-Ball

Hello guys, This is my code for the skee ball problem but one of the output is still false and I don’t know why : Ticket = int(input()) Price = int(input()) Ticket_div = Ticket/12 if Ticket_div > Price: print('Buy it!') else: print('Try again') Thank you

5th Apr 2023, 2:05 PM
Julien Badii
3 ответов
+ 4
Your code seem without any error . Read the description of code coach. There may be a mistake in spelling, punctuation marks or capital letters.
5th Apr 2023, 2:23 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 3
Shouldn't it be a buy also when Ticket_div equals Price?
5th Apr 2023, 3:21 PM
Brian
Brian - avatar
+ 1
Yeah it was >=
6th Apr 2023, 5:56 AM
Julien Badii