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!"
    print "thanks for trying my quiz, goodbye :)"


i got syntax error for my fourth line for "

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.