Computer Science, asked by chayan8241, 1 day ago

Wap to find total amount of ticket paid in python​

Answers

Answered by rohithsajeev1
0

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 ✌✌

Similar questions