Thread: the noob i am!
View Single Post
  #1 (permalink)  
Old 10-18-2007, 12:59 PM
Timotay Timotay is offline
Newbie
 
Join Date: Oct 2007
Location: England
Posts: 6
Rep Power: 0
Timotay is on a distinguished road
Default the noob i am!

ok this is my code;
a = input ("enter first number")
print a
b = input ("entre secound number")
print "addition", a+b
print "multiply", a*b
print ("close?")
text = raw_input ()
if text == "yes":
exit ()
if text == "no":

now at the end i want to loop back to the start if "no" is entered, but i can't seem to get it.
any advise?
many thanks!
Tim
Reply With Quote

Sponsored Links