G = {"r1":0,
"r2":0,
"r3":0,}
def mov(A,B):
if A in G and B in G:
G[A] = G[B]
def add(A,B):
if A in G:
G[A] += B
def p():
G[f"r{len(G)}"] = 0
def w(A):
print(G[A])
add("r1",1)
w("r1")
To embed this project on your website, copy the following code and paste it into your website's HTML: