User Tools

Site Tools


prog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
prog [2019/03/13 07:56]
sergeyvl
prog [2019/03/13 08:00] (current)
sergeyvl
Line 19: Line 19:
     print "​We'​re on time %d" % (x)     print "​We'​re on time %d" % (x)
 </​code>​ </​code>​
 +
 +====== Длина массива ======
 +
 +===== python =====
 +
 +<code python>
 +# list of integers
 +my_list = [1, 2, 3]
 +
 +# length
 +k = len(my_list)
 +</​code>​
 +
prog.txt · Last modified: 2019/03/13 08:00 by sergeyvl