if arg==1 || arg==-15
does python have anything like that or is there a good way to do it?
Posted 24 June 2010 - 07:34 PM
Posted 24 June 2010 - 07:44 PM
>>> arg = 1 >>> arg == 1 or arg==-15 True >>> arg = 0 >>> arg == 1 or arg==-15 False
Posted 24 June 2010 - 07:48 PM
0 members, 1 guests, 0 anonymous users