Created
February 6, 2016 07:34
-
-
Save HFreni/55c2cfc3fa911a50d8fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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