import getpass, sys

def question_with_response(prompt):
    print("Question: " + prompt)
    msg = input()
    return msg

questions = 3
correct = 0

print('Hello, ' + getpass.getuser() + " running " + sys.executable)
print("You will be asked " + str(questions) + " questions.")
question_with_response("Are you ready to take a test?")

rsp = question_with_response("Who is at the top team in earnings currently?")
if rsp == "Evil Geniuses":
    print(rsp + " is correct!")
    correct += 1
else:
    print(rsp + " is incorrect!")

rsp = question_with_response("What is the player id of the top earner, Ethan Arnold?")
if rsp == "Ethan":
    print(rsp + " is correct!")
    correct += 1
else:
    print(rsp + " is incorrect!")

rsp = question_with_response("How many players have more than $200,0000 earnings?")
if rsp == "9":
    print(rsp + " is correct!")
    correct += 1
else:
    print(rsp + " is incorrect!")

print(getpass.getuser() + " you scored " + str(correct) +"/" + str(questions))
Hello, justin running /Library/Developer/CommandLineTools/usr/bin/python3
You will be asked 3 questions.
Question: Are you ready to take a test?
Question: Who is at the top team in earnings currently?
Evil Geniuses is correct!
Question: What is the player id of the top earner, Ethan Arnold?
Ethan is correct!
Question: How many players have more than $200,0000 earnings?
9 is correct!
justin you scored 3/3