Could someone help me in skee_ball easy code coach. It gives me one wrong case | Sololearn: Learn to code for FREE!

0

Could someone help me in skee_ball easy code coach. It gives me one wrong case

points=int(input()) tickets=int(points/12) cost=int(input()) if tickets/cost>=1: print('Buy it!') else: print ('Try again')

4/13/2021 4:43:27 PM

اسلام البغدادى

3 Answers

New Answer

+7

Maybe cost is 0 for that case. You can try this to avoid it if tickets>=cost:

+1

This is true.. Thank u

0

اسلام البغدادى