+ 3
James Gardner
These are known:
tkts = 100.â°â°
no_patrons = 5 # ( customers )
sum = 0 # starting value
we have a
for loop as far as our known number of patrons
for i in range( no_patrons +1):
each time the loop runs we need to input the patron's age
age = int(input())
one condition is if age <= 3
so we know that age group is "free" but we won't be outputting free so at this level we should be adding zero to our sum or
sum += 0
else:
sum += 100
print(sum)