Skip to content

Instantly share code, notes, and snippets.

@HFreni
Created February 6, 2016 07:34
Show Gist options
  • Save HFreni/55c2cfc3fa911a50d8fb to your computer and use it in GitHub Desktop.
Save HFreni/55c2cfc3fa911a50d8fb to your computer and use it in GitHub Desktop.
# Print a message to welcome the buyer
print("Welcome to Harrison's Movie Ticket Software!")
#Inputs To Check for how many people
k = input("Please enter the number of children: ")
a = input("Please enter the number of adults: ")
s = input("Please enter the number of seniors: ")
#Price Variables
kP = 10
aP = 12
sP = 11
#Total Equation
total = (k*kP) + (a*aP) + (s*sP)
#Print The Cost
print("$" + str(total))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment