Em Ter, 2006-05-16 às 20:25 +0000, John Salerno escreveu: > it doesn't seem to work. The full code is below if it helps to understand.
Why doesn't it work? What does it do, what did you expect it to do?
>>> ''.join(set('hi'))
'ih'
>>> ''.join(set('HI'))
'IH'
>>> ''.join(set('hiHI'))
'ihIH'
>>> ''.join(set('hiHI'.upper()))
'IH'
--
Felipe.
--
http://mail.python.org/mailman/listinfo/python-list
