micropython

tests/list_assign.py

530:0f9aa4c4d92c
2012-06-09 Paul Boddie Added an __iter__ method for strings.
     1 #!/usr/bin/env python     2      3 [a, b, c] = [1, 2, 3]     4      5 result_1 = a     6 result_2 = b     7 result_3 = c     8      9 # vim: tabstop=4 expandtab shiftwidth=4