0

How do you turn a set into a list?

31st Jul 2016, 8:18 PM
SouthBay
SouthBay - avatar
3 Antworten
+ 3
set() and list(). >>> list((5,7,4,7)) [5, 7, 4, 7] >>> set([9,5,3,5]) {9, 3, 5}
1st Aug 2016, 3:50 PM
aruluth
aruluth - avatar
0
And roundtrip?
31st Jul 2016, 8:20 PM
SouthBay
SouthBay - avatar
0
that s correct
4th Dec 2016, 2:16 PM
MANICKAM . R
MANICKAM . R - avatar