# import pprint
# 
# a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
# print (a)

# a2d = [a, a, a, a]
# print(a2d)
# [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
#  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
#  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
#  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]

# #indexing 2d lists
# N =122
# a2d = [ list(range(i*N, i*N + N)) for i in range(N) ]
# print(a2d)

#slicing 
N = 999
a = list(range(N))
print(a[99:105])
@@ -14,18 +14,16 @@
 nt%0D%0A# %0D%0A
-# 
 a = %5B1, 
@@ -363,19 +363,22 @@
 t(a2d)%0D%0A
+# 
 %0D%0A#
+ 
 slicing 
@@ -379,16 +379,18 @@
 icing %0D%0A
+# 
 N = 999%0D
@@ -390,16 +390,18 @@
  = 999%0D%0A
+# 
 a = list
@@ -412,16 +412,18 @@
 ge(N))%0D%0A
+# 
 print(a%5B
@@ -430,8 +430,41 @@
 99:105%5D)
+%0D%0A%0D%0A#slicing 2%0D%0A%0D%0Aprint(a%5B2:5%5D)%0D%0A

slicing 2