q_3 = raw_input("Choose 1 or 2 or 3") #The question leave 3 options, only one to complete the process if q_3 == "1": print ("Wrong!") #Now its wrong number, should start all over again until the user choose 3 elif q_3 == "2": print ("Wrong") #This is also a wrong number, should start all over again until the user choose 3 elif q_3 == "3": print ("Correct") #This is now the right number I can handle it from here ! :)
while True: q_3 = raw_input("Choose 1 or 2 or 3") #The question leave 3 options, only one to complete the process if q_3 == "1": print ("Wrong!") #Now its wrong number, should start all over again until the user choose 3 elif q_3 == "2": print ("Wrong") #This is also a wrong number, should start all over again until the user choose 3 elif q_3 == "3": print ("Correct") #This is now the right number I can handle it from here ! :) break
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)