0

`

print  "Welcome to my quiz"
begin = raw_input("would you like to begin?: ")
if begin =="yes":
    print "A)True"
    print "B)False"
    q1 = raw_input("Is Steve Jobs is the founder of Apple?")
    if q1 == "A" or q1 == "a":
        print "well done! you got it right!"
else:
    print "thanks for trying my quiz, goodbye :)"

`

i got syntax error for my fourth line for "

Edited by dean.ong.14

2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by 铃
0

Sorry I don't konw what's worng with your fourth line.It runs well in my PC.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.