micropython/tests/basics/set_iter.py

6 wiersze
48 B
Python

s = {1, 2, 3, 4}
l = list(s)
l.sort()
print(l)