What are the syntax for &&, ||

RC raymond.chui at nospam.noaa.gov
Wed Oct 22 17:20:43 EDT 2008


if condition1 && condition2: # and
	doThis
elif condition3 || condition4: # or
	doThat

In most of language have &&, ||

How do I do in Python?



More information about the Python-list mailing list