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

thanks! i came up with this

choice = ""
while choice!= "no":
a = input ("enter first number")
print a
b = input ("enter secound number")
print b
print "addition", a+b
print "multiply", a*b

print ("retry?")
text = raw_input ()

if text == "yes":
exit ()

very nice! lol, just one question the first line what is the function of the two speach marks?? apart from that i get it!
thanks
Tim
Reply With Quote