Борислав Бориславов wrote:

> while 1:
>     name=raw_input("What is your name? ")
>     if name == "bobi": print "Hello Master!" and break
>     else: print "error"

> I want if my conditions are met to do a couple of things and i cant do
> that

> while 1:
>     name=raw_input("What is your name? ")
>     if name == "bobi": 
          print "Hello Master!" 
          break
>     else: print "error"
  

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to