hi guys am very new to python and going through a couple of tutorials but not getting very far with them think its my age. So instaed i have decided to try and write a small programme and try and pick it up like that and it seems to be working. however i have become stuck now. I have typed the following code
#!/usr/bin/env python
#a simple question
keep_asking = True
while keep_asking:
a = raw_input("What Is My Name? ") # the question
print "paul"
if a == "Paul": # the answer
print ("Correct")
keep_asking = False
else:
print ("Wrong Try Again")
what i want to do is list 3 posible answers underneath the question can anyone hel. i know this is a simple and silly question but i cant figure it out thank you in advance
#!/usr/bin/env python
#a simple question
keep_asking = True
while keep_asking:
a = raw_input("What Is My Name? ") # the question
print "paul"
if a == "Paul": # the answer
print ("Correct")
keep_asking = False
else:
print ("Wrong Try Again")
what i want to do is list 3 posible answers underneath the question can anyone hel. i know this is a simple and silly question but i cant figure it out thank you in advance