Lichen

tests/tuple.py

231:72b93c7c757a
2016-11-24 Paul Boddie Added issubclass and improved isinstance, also introducing various native functions and operations.
     1 l = (1, 2, 3, "four")     2 print len(l)     3 print l[0]     4 print l[1]     5 print l[2]     6 print l[3]     7 print l[-1]     8 print l[-2]     9 print l[-3]    10 print l[-4]    11 print l    12     13 l = [1, 2, 3, "four"]    14 t = tuple(l)    15 print t