Jul-29-2017, 12:25 PM
I am trying to learn Python. For me the best way to learn is to try and apply the subject to an interest. In this case I am trying to make a small quiz. The code is displayed below (I hope). Essentially I want the user to input an answer. Based on the answer I want to print either Correct or Wrong. Can anyone help me with this. I assume it's really easy and I'm being stupid.
print "Welcome to the ultimate football quiz"
print "Question 1"
print "Who scored the first ever premier league goal?"
print "1: Brian Deane"
print "2: Eric Cantona"
print "3: Alan Shearer"
print "4: Dion Dubline"
answer = float(input("Please enter answer "))
if answer >1
print (CORRECT!!!!)
