circuitpython/tests/basics/set_iter.py

6 lines
48 B
Python
Raw Normal View History

2014-01-12 10:17:42 -05:00
s = {1, 2, 3, 4}
l = list(s)
l.sort()
print(l)