Below is a broken python program. Copy and paste this Python program to your Python editor (Thonny):
def do_something(name): for index in range(1,5) print('Hello '+ Name do_Something('Gamas') def ticket_price(age): price = 10 if age < 5 price = 0 else age < 10 price = 5 elif age >= 59: price = 5 return price age = input('How old are you? ' price = ticketprice(Age) print('Your ticket price is
After you fix all the problem, when you run your program you should see something like below
Hello Gamas Hello Gamas Hello Gamas How old are you? 3 Your ticket price is $0
or
Hello Gamas Hello Gamas Hello Gamas How old are you? 6 Your ticket price is $5
or
Hello Gamas Hello Gamas Hello Gamas How old are you? 13 Your ticket price is $10
or
Hello Gamas Hello Gamas Hello Gamas How old are you? 60 Your ticket price is $5