Question: hi i get a typeerror message of quotnot all arguements...
Question details
Hi I get a typeerror message of "not all arguements converted during string formatting."
The error occurs here:
if selection == "p":
Children = int(input("No. of Children: "))
Adults = int(input("No. of Adults: "))
Seniors = int(input("No. of Seniors: "))
seats_taken_wed = Children + Adults + Seniors
seats_taken_sat = Children + Adults + Seniors
vacancy_wed = 30 - seats_taken_wed
vacancy_sat = 30 - seats_taken_sat
print("Available seats on Wednesday: "%vacancy_wed)
print("Available seats Saturday: "%vacancy_sat)
What is my error?
Solution by an expert tutor
