You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#A particular zoo determines the price of admission based on the age of the guest. Guests 2 years of age and less are admitted without charge. Children between 3 and 12 years of
#age cost RM14.00. Seniors aged 65 years and over cost RM18.00. Admission for all other guests is RM23.00. Create a program that begins by reading the ages of all of the guests
#in a group from the user, with one age entered on each line. The user will enter a blank line to indicate that there are no more guests in the group. Then your program should
#display the admission cost for the group with an appropriate message. The cost should be displayed using two decimal places.
age=[]
cost=0
print('Press "Enter" to add new ages')
print('After finish enter the ages, press "Enter" button twice')