Print output (drag lower right corner to resize)
|
Are you at least 60 years old? Help our research on older adults learning to code
Python Examples
Basic: hello | happy | filter | tokenize | insertion sort | for-else
Math: fibonacci | memoized fibonacci | square root | gcd | towers of hanoi
Objects: OOP 1 | OOP 2 | OOP 3 | inheritance
Linked Lists: LL 1 | LL 2 | LL sum
Pointer Aliasing:
aliasing1 |
aliasing2 |
aliasing3 |
aliasing4 |
aliasing5 |
aliasing6 |
aliasing7 |
aliasing8 |
sumList
Higher-Order Functions:
closure1 |
closure2 |
closure3 |
closure4 |
closure5 |
nonlocal |
map |
sum |
lambda param
Advanced:
list comp |
list/set/dict comp |
decorator |
generator |
genexpr |
varargs |
exception |
metaclass
Tips for good questions: