This website works better with JavaScript.
Explore
Register
Sign In
ottergottaott
/
programming-basics-2022
Watch
9
Star
11
Fork
You've already forked programming-basics-2022
1
Code
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25
Commits
3
Branches
0
Tags
696 KiB
Python
86.8%
Haskell
6.8%
Dockerfile
3.6%
Shell
2.9%
Tag:
Branch:
Tree:
910249657a
main
pr2
practice4
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '910249657a'
${ noResults }
programming-basics-2022
/
07_python
/
closure.py
9 lines
106 B
Raw
Blame
History
def
adder
(
)
:
n
=
0
def
add
(
)
:
nonlocal
n
n
+
=
1
return
n
return
add
View Git Blame
Copy Permalink