Freezing

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Jan 12 13:52:40 EST 2006


The first line of that example has to be:

s = |set([1, 3, 5])|

But I don't know/remember why set() can't accept many values like
max/min:

max([1,2,5])
max((1,2,5))
max(1,2,3)

Bye,
bearophile




More information about the Python-list mailing list