huajun07 / codesketcher

Visualise your code in action!
https://main.d1fr5et3wgts3j.amplifyapp.com/
MIT License
0 stars 0 forks source link

[Feature Request] Variable Scope #32

Open huajun07 opened 1 year ago

huajun07 commented 1 year ago

There may be variables of the same name under different scope. Thus there should be a way to distinguish these two variables E.g.

def hi2():
  for i in range(10):
    print(i)

def hi():
  for i in range(10):
    hi2()

hi()