print('welcome to my quiz :)')
playing = input('do you want to play? ')
if playing.lower() != "yes":
quit()
print("okay! let's play:)")
score = 0
answer = input("What command is used to include other functions that are developed? ")
if answer.lower() == "import":
print("yes, import is correct!")
score += 1
else:
print("sorry, import was actually the correct answer.")
answer = input('What command in this example is used to evaluate a response? ')
if answer.lower() == "if":
print('yes, if is correct!')
score += 1
else:
print('nope, if was the right answer.')
answer = input('Each if command contains an _______ to determine a true or false condition? ')
if answer.lower() == "expression":
print('yay! you are super smart, expression is correct')
score += 1
else:
print("that is awkward... expression was the correct answer")
answer = input('This question is worth 2 points, is Kaylee going to get a 3/3 on this assignment? ')
if answer.lower() == "yes":
print("YES WE WILL")
score +=2
else:
print('oh ye of little faith...')
print("yippee you got " + str(score) + " questions correct!")
print("you got " +str((score / 5) *100) + "%.")