Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101797
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Kitten Corner <joshua.shapo@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Using 'Or' |
| Date | Fri, 15 Jan 2016 15:24:46 -0500 |
| Lines | 7 |
| Message-ID | <mailman.37.1452938481.15297.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de tXr+rBHEsU2V2GUiMsbJNwVRZR72VDF2PRAqUTQEi9rg== |
| Return-Path | <joshua.shapo@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.049 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'example:': 0.10; 'python': 0.10; "'or',": 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sequence,': 0.16; 'project,': 0.18; 'trying': 0.22; 'message- id:@mail.gmail.com': 0.27; 'other,': 0.29; "i'm": 0.30; 'help!': 0.30; 'received:google.com': 0.35; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'received:209.85.213': 0.37; 'version': 0.38; 'received:209': 0.38; 'hi,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; '3.5.1': 0.84; 'subject:Using': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=BYRE9+21QznY0FIJ4bq/LsDr9TSnyZ8DvOgjlAQEOQ0=; b=0XKNIlZshte1mpQLQWQaun163x5183MtPWSO6xy1aXVOXucEUTkAHZ4TdYdoh5++Of veL90n5ukMekrQrSKZQkArQAOeUGwybEbnQGda7gAYCVe1r46VU849eLrntlQIOllgrx UsB3c0Zx4GNj1rXFvgI5vjjq7ymztkPvH7eqMeK4oCHZll9Uem+H32giKQEK0NK7B9X0 j1YcK55/CYHOk6cpOOaNSiDhgxigz59ABuM2kz4jLfeB+JkSLt8OP79LN26ApLijQBC1 Nr4/NdNPr1nUocUXqSL+Jp5mv8Gd5QB5IG0GG6YWKFqs3GqUT4egewRNJIQI3hYu9h9u b5cw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=BYRE9+21QznY0FIJ4bq/LsDr9TSnyZ8DvOgjlAQEOQ0=; b=gw5vkD8QTDmPr4Fh9LALgDg8/Jx7bM+4SKCVppYPMM0UkmPXSxfdmD8jcd2veWkOPi PUIduI77k3rx+8qyjSJi6CW2fb2cYcAoYLf8kE9XfJ8B+pv4RZxEmQFm7zZfO41bKIZL dvksaQLYny0Bh0LcFkZHpSo3DywNk6E0FpBpQjkDyvHlj9T+KcJbBvFbgugCVagnFh4O zPr8wYtqu+HubJ5CP/f9c4WblQc5hwfxC4FcT8YUQfLKjCJnhN1dUiKojvTB7yCzIFLs j+wnHcHAmbATdjrVmRGh1PDqcZLsFCJxoQ8hYfSJfRmLgwCdCXvMqvsNzrzrd9W0esfY VEOQ== |
| X-Gm-Message-State | ALoCoQk9HMv9xsWHXIvMUsFO46kGTtlwf4syfnGDggkb4x+O6MwT1biq00v1TEXPGq8s1Jx3RhkR4AzER2aaTM0ArF4nFUY7Tw== |
| X-Received | by 10.31.41.202 with SMTP id p193mr9195844vkp.107.1452889486103; Fri, 15 Jan 2016 12:24:46 -0800 (PST) |
| X-Mailman-Approved-At | Sat, 16 Jan 2016 05:01:20 -0500 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.20+ |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:101797 |
Show key headers only | View raw
Hi, I have python version 3.5.1 and I am working on a project, I'm trying
to make it by using the 'or' sequence, I'm trying to make it do 1 thing or
the other, here's an example: print('i like pie' or 'i like donuts'), it
only does the thing that's before the 'or', please help!
From,
Kitten Corner
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Using 'Or' Kitten Corner <joshua.shapo@gmail.com> - 2016-01-15 15:24 -0500
Re: Using 'Or' Christian Gollwitzer <auriocus@gmx.de> - 2016-01-16 12:03 +0100
Re: Using 'Or' Marko Rauhamaa <marko@pacujo.net> - 2016-01-16 14:41 +0200
Re: Using 'Or' Alister <alister.ware@ntlworld.com> - 2016-01-16 14:06 +0000
Re: Using 'Or' Steven D'Aprano <steve@pearwood.info> - 2016-01-17 08:53 +1100
Re: Using 'Or' Alister <alister.ware@ntlworld.com> - 2016-01-16 22:47 +0000
Re: Using 'Or' Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-01-16 21:12 -0200
Re: Using 'Or' Chris Angelico <rosuav@gmail.com> - 2016-01-17 10:15 +1100
csiph-web