Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48946
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Subject | Re: How can i fix this? |
| Date | 2013-06-22 23:46 +0200 |
| Organization | None |
| References | <b0872ec1-36c4-4e6f-9a5b-c826d508ea6c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3707.1371937535.3114.python-list@python.org> (permalink) |
Борислав Бориславов 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"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can i fix this? Борислав Бориславов <hexofbane@gmail.com> - 2013-06-22 14:31 -0700
Re: How can i fix this? Peter Otten <__peter__@web.de> - 2013-06-22 23:46 +0200
Re: How can i fix this? Борислав Бориславов <hexofbane@gmail.com> - 2013-06-22 14:50 -0700
Re: How can i fix this? Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-22 16:55 -0600
Re: How can i fix this? John Gordon <gordon@panix.com> - 2013-06-23 00:53 +0000
Re: How can i fix this? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-22 22:53 +0100
Re: How can i fix this? Борислав Бориславов <hexofbane@gmail.com> - 2013-06-22 18:35 -0700
csiph-web