0

Need help in python begginers

I need help.im stuck in this practice and cant get through it.can someone explain it to me You are making a ticketing system. The price of a single ticket is $100. For children under 3 years of age, the ticket is free. Your program needs to take the ages of 5 passengers as input and output the total price for their tickets.

5th Mar 2022, 2:25 PM
MRX
1 Réponse
+ 1
Pls post full details of question and your try there.. Along with your problem of getting it right.. edit : MRX The task is to take 5 person ages as input of int type. if age is less than 3 , ticket is free otherwise need to buy a ticket of cost 100. now find total bill to pay for 5 tickets, and just output total.. what is your difficulty there?
5th Mar 2022, 2:28 PM
Jayakrishna 🇮🇳