Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48948
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'else:': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'name?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:How': 0.10; '"hello': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'print': 0.22; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'ball': 0.31; 'skip:\xd0 10': 0.36; 'next': 0.36; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'most': 0.60; 'black': 0.61; 'break': 0.61; 'name': 0.63; 'watching': 0.68; '8bit%:100': 0.72; 'subject:this': 0.83; 'white,': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: How can i fix this? |
| Date | Sat, 22 Jun 2013 22:53:16 +0100 |
| References | <b0872ec1-36c4-4e6f-9a5b-c826d508ea6c@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | host-92-24-210-99.ppp.as43234.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
| In-Reply-To | <b0872ec1-36c4-4e6f-9a5b-c826d508ea6c@googlegroups.com> |
| X-Antivirus | avast! (VPS 130622-1, 22/06/2013), Outbound message |
| X-Antivirus-Status | Clean |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3708.1371938005.3114.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1371938005 news.xs4all.nl 15967 [2001:888:2000:d::a6]:56086 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:48948 |
Show key headers only | View raw
On 22/06/2013 22:31, Борислав Бориславов 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
>
You most certainly can :)
while 1:
name=raw_input("What is your name? ")
if name == "bobi":
print "Hello Master!"
print "Why do some people insist on cramming all of their code
onto one line?"
break
else:
print "error"
--
"Steve is going for the pink ball - and for those of you who are
watching in black and white, the pink is next to the green." Snooker
commentator 'Whispering' Ted Lowe.
Mark Lawrence
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