@ -0,0 +1,19 @@
from typing import Optional
def main():
# privitive
# int, bool, float, string
a = 10
b = 20
def sum():
nonlocal a
a = 1
return a + b
print("a={};sum={};a={}".format(a, sum(), a))
if __name__ == "__main__":
main()
The note is not visible to the blocked user.