How can i fix this?

Борислав Бориславов hexofbane at gmail.com
Sat Jun 22 17:50:05 EDT 2013


23 юни 2013, неделя, 00:46:37 UTC+3, Peter Otten написа:
> Борислав Бориславов 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"

this doesent help me at all



More information about the Python-list mailing list