Python is shown as an example in the standard library:
code> X = 1 print (Eval ('x + 1') 2) A person can provide a more concise description with examples of both the globals and the use of disputes of local people.
globalsandlocalto define it The scope in whichevalshould work, that is, what variable should be available in an attempt to evaluate the expression, for example:& gt; & Gt; & Gt;xNote that the local version is used in the
xlocal and global region .x
Comments
Post a Comment