Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38588
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.061 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.01; 'python': 0.09; 'input,': 0.09; 'cc:addr:python-list': 0.10; 'subject:random': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'email addr:gmail.com>': 0.20; 'cc:2**0': 0.23; 'random': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'select': 0.26; 'message- id:@mail.gmail.com': 0.27; 'url:mailman': 0.29; 'function': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'received:google.com': 0.34; 'list': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'url:org': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'url:mail': 0.40; '2013': 0.84; 'joel': 0.91; 'to:none': 0.93; 'eli': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:cc:content-type; bh=khQ9ISOyWHXdWXS++7kzKvIjMXjyR9+6R1nbFBM7eD8=; b=UMvZP19bxCP0I9Mqo8Tb+/gwEQPpEiKrE/fOC1saABJfUMWgH3WI65BojUnu76+cpn WfYW1BsjAeHWW2OI9eSWensDSo0Vs9d+qHL6Iptdp265IJAnU5q4Bki7+mx4ZuhhtS9m U6o/xLBHzYI3RKCoo6WQPm92xaBoX76bsw/STorh7WZxVEmx2v0ncz9BMmN9kghd7oeq wZ478gT90ea2Y1VDedRra7Q9WzO3oapXxqQfr3YX9OHZXfJAfvhARoDn2zw+9KXi3cfq bhkuL8or4Pdqs62X687U0+qNfKfIdmE7xgcVGujhVmVJvfWec/qcRvvGBn7P2JF4Brv0 9Ndg== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.219.204 with SMTP id hv12mr15366395vcb.71.1360518204063; Sun, 10 Feb 2013 09:43:24 -0800 (PST) |
| In-Reply-To | <2b79c66b-0750-46c5-a436-edf369747af2@googlegroups.com> |
| References | <2b79c66b-0750-46c5-a436-edf369747af2@googlegroups.com> |
| Date | Sun, 10 Feb 2013 12:43:23 -0500 |
| Subject | Re: Pick random choice from variables |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=14dae9cfcea4437e4404d562545f |
| 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.1591.1360518212.2939.python-list@python.org> (permalink) |
| Lines | 47 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360518212 news.xs4all.nl 6918 [2001:888:2000:d::a6]:39230 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38588 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Sun, Feb 10, 2013 at 12:01 PM, eli m <techgeek201@gmail.com> wrote: > How do i make something with python that will ask the user for input, and > then use the random.choice function to select a random choice from what the > user entered. > l = [1,2,3] # or any list r = random.choice(l) > -- > http://mail.python.org/mailman/listinfo/python-list > -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Pick random choice from variables eli m <techgeek201@gmail.com> - 2013-02-10 09:01 -0800 Re: Pick random choice from variables Joel Goldstick <joel.goldstick@gmail.com> - 2013-02-10 12:43 -0500 Re: Pick random choice from variables David Hutto <dwightdhutto@gmail.com> - 2013-02-10 13:01 -0500 Re: Pick random choice from variables David Hutto <dwightdhutto@gmail.com> - 2013-02-10 13:03 -0500
csiph-web