def q_and_a(prompt):
    print("Question: " + prompt)
    msg = input()
    return msg
    
questions = 6
correct = 0

print("Hello, you will be taking the vocabulary test.")
print("Do you wish to proceed?(y/n)")

msg = input()

while (msg!="y") :  
    print("ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE")
    msg = input()
  
print("You may now proceed")
      
rsp = q_and_a("Does static text change? (yes/no)")
if rsp == "no":
    print(rsp +" is correct")
    correct += 1
else:
    print(rsp +" is wrong :(")
    
rsp = q_and_a("At least how many lines are required to form a sequence of code?(1-4)")
if rsp == "2":
    print(rsp + " is correct!")
    correct += 1
else:
    print(rsp + " is incorrect!")

rsp = q_and_a("Is Input and Output in jupyter notebooks in line with Output?(yes/no)")
if rsp == "no":
    print(rsp + " is correct!!")
    correct += 1
else:
    print(rsp + " is incorrect!")

rsp = q_and_a("Is the computer mice an input?(yes/no)")
if rsp == "yes":
    print(rsp + " is correct!!")
    correct += 1
else:
    print(rsp + " is incorrect!")
    
rsp = q_and_a("What is a number with a decimal in it called?")
if rsp == "float":
    print(rsp + " is correct!!")
    correct += 1
else:
    print(rsp + " is incorrect!")
    
rsp = q_and_a("What is a set of instructions that a computer follows in order to complete a task called?")
if rsp == "program":
    print(rsp + " is correct!!")
    correct += 1
else:
    print(rsp + " is incorrect!")

print(" you scored " + str(correct) +"/" + str(questions))
Hello, you will be taking the vocabulary test.
Do you wish to proceed?(y/n)
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
ERROR, YOU HAVE TO SAY YES, DON'T HAVE A CHOICE
You may now proceed
Question: Does static text change? (yes/no)
N is wrong :(
Question: At least how many lines are required to form a sequence of code?(1-4)
2 is correct!
Question: Is Input and Output in jupyter notebooks in line with Output?(yes/no)
NO is incorrect!
Question: Is the computer mice an input?(yes/no)
YES is incorrect!
Question: What is a number with a deciminal in it called?
float is correct!!
Question: What is a set of instructions that a computer follows in order to complete a task called?
program is correct!!
 you scored 3/6