Saved Bookmarks
| 1. |
Wap to find total amount of ticket paid in python |
|
Answer» I think it's better to input all the VALUES and then use sum values.. repeat = int(input ("ENTER the NUMBER of TICKETS: ")) sum = 0 for i in range (repeat): AMOUNT = int(input("Enter the amount: ")) sum+=amount print("Total Amount of ticket paid is: ",sum) hope it helps.. pls mark as BRAINLIEST ✌✌ |
|