Support SLICE opcodes

This commit is contained in:
Sahil Jain
2025-06-30 23:57:31 +05:30
parent 307e0b8fd7
commit ad5f39db56
7 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
a = [0] * 16
l = [1,2,3]
a[13:] = l
a[5] = 10
a[:2] = [1,2]
a[:] = range(16)
print(a)