expression in an if statement
ernest
nfdisco at gmail.com
Wed Aug 18 14:24:41 EDT 2010
Hi,
In this code:
if set(a).union(b) == set(a): pass
Does Python compute set(a) twice?
Thanks in advance.
Ernest
More information about the Python-list
mailing list