GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — StarterLearningPython/newcodes/nest_func2.py at master · smudkey/StarterLearningPython Expand file tree/ Copy pathnest_func2.pyMore file actions 13 lines (11 loc) · 180 Bytes / Copy pathnest_func2.pyFile metadata and controls13 lines (11 loc) · 180 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 #!/usr/bin/env python # coding=utf-8 def foo(): a = 1 def bar(): nonlocal a a = a + 1 print("bar()a=", a) bar() print("foo()a=", a) foo() |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |