+ 1
Skee ball
point=int(input()) ticket=int(input()) if point>=480: if ticket>=40: print('Buy it!') else: print('Try again') Can any one help me what's wrong with my code while three are right and 2 are wrong and I can't se that what is wrong becuase it is lock
4 odpowiedzi
+ 2
I think you need to read the task again.
Why can't the points be lower than 480?
+ 3
Thank you, Ausgrindtube
You were right,I made mistake but now I understand that the ticket input are buy price and we need to compare points that by converting into ticket can we buy it or not if not than try it..
+ 1
Beccuase it need 40 ticket to buy and 12 points equal to 1 ticket so 480,
Is these wrong
0
Happy to read that you figured it out! Well done and happy coding!