OR in python?
Posted: Tue Feb 23, 2010 12:58 am
Silly question (perl programmer here)
How do I do
if x == 1 or x == 2:
execute this
in python?
How do I do
if x == 1 or x == 2:
execute this
in python?
Code: Select all
if x == 1 or x == 2: