Py3K idea: why not drop the colon?

Max Erickson maxerickson at gmail.com
Fri Nov 10 15:47:42 EST 2006


>>> color='orange'
>>> if color=='red' or 'blue' or 'green':
	print "Works?"

	
Works?
>>> 




More information about the Python-list mailing list