This commit is contained in:
Xnoe 2020-07-24 08:30:33 +01:00 committed by Elsie
parent 5515154838
commit 32c8f4440c
2 changed files with 5 additions and 1 deletions

2
2d.py Normal file
View File

@ -0,0 +1,2 @@
l = [[0, 1], [2, 3]]
print(l[0][0])

View File

@ -50,8 +50,10 @@ NEGATE_AST = 5
index = 0
print("here")
def current ():
return tokens[index][0]
return (tokens[index])[0]
def eat(token):
global index