Py3K idea: why not drop the colon?

Max Erickson maxerickson at gmail.com
Fri Nov 10 21:47:42 CET 2006


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

	
Works?
>>> 




More information about the Python-list mailing list