Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33561
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!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.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:two': 0.07; 'python': 0.09; 'any.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Problems': 0.16; 'subject:questions': 0.16; 'subject:these': 0.16; 'header:X -Complaints-To:1': 0.28; 'url:home': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'nov': 0.35; 'returning': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; "you've": 0.61; 'show': 0.63; 'dennis': 0.91; 'received:108': 0.91; 'angel': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Problems on these two questions |
| Date | Mon, 19 Nov 2012 18:16:44 -0500 |
| Organization | > Bestiaria Support Staff < |
| References | <400c615f-4d93-4b8b-85ec-1bb4c47e30fe@googlegroups.com> <50A996EB.2000600@davea.name> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-108-68-177-195.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| 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.16.1353367195.29569.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1353367195 news.xs4all.nl 6944 [2001:888:2000:d::a6]:52240 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:33561 |
Show key headers only | View raw
On Sun, 18 Nov 2012 21:18:19 -0500, Dave Angel <d@davea.name> declaimed
the following in gmane.comp.python.general:
> if is_a_prime(n):
> is_prime = True
>
> Now all you have to do is write is_a_prime(). if you get stuck, please
> show us what you've got, and what the problem is with it. And as usual,
> tell us what version of Python you're writing in, if any.
>
Since "is_a_prime" is returning a Boolean, this condenses to:
is_prime = is_a_prime(n)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problems on these two questions su29090 <129km09@gmail.com> - 2012-11-18 17:52 -0800
Re: Problems on these two questions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-19 02:09 +0000
Re: Problems on these two questions su29090 <129km09@gmail.com> - 2012-11-18 18:15 -0800
Re: Problems on these two questions Dave Angel <d@davea.name> - 2012-11-18 21:33 -0500
Re: Problems on these two questions Dave Angel <d@davea.name> - 2012-11-18 21:18 -0500
Re: Problems on these two questions Chris Angelico <rosuav@gmail.com> - 2012-11-19 13:23 +1100
Re: Problems on these two questions Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-11-19 18:15 -0500
Re: Problems on these two questions Neil Cerutti <neilc@norwich.edu> - 2012-11-20 15:02 +0000
Re: Problems on these two questions Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-11-19 18:16 -0500
Re: Problems on these two questions Dave Angel <d@davea.name> - 2012-11-19 20:52 -0500
Re: Problems on these two questions Ian Kelly <ian.g.kelly@gmail.com> - 2012-11-19 23:32 -0700
csiph-web