Py3K idea: why not drop the colon?

James Cunningham jameshcunningham at gmail.com
Fri Nov 10 15:55:52 EST 2006


On 2006-11-10 15:47:42 -0500, Max Erickson <maxerickson at gmail.com> said:

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

No! No no no. I won't hear of it.

Don't you know that with insufficient test cases, everything is right? Sheesh.

Best,
James




More information about the Python-list mailing list