Using 'Or'
Chris Angelico
rosuav at gmail.com
Sat Jan 16 05:29:31 EST 2016
On Sat, Jan 16, 2016 at 7:24 AM, Kitten Corner <joshua.shapo at gmail.com> wrote:
> 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!
Under what circumstances do you want it to take the other? So far,
Python is correctly printing out one or the other of them.
ChrisA
More information about the Python-list
mailing list