0
24.4 practice ticket prices
total = 500 x = 0 while x < 5: age = int(input()) if age <= 3: total = total - 100 x += 1 print(age) print(total) i did this on the practice, i tried on pycharm and it worked perfectly, it gave the same output as it should appear on the practice, but when i run that on practice, it was marked as incorrect, why???
1 Respuesta
+ 3
Task Asked to print only total price. No need to print age.
And price is not for age less than 3 so, not include 3.