Computer Science Circles Homepage | Contact Us
Basic Examples:
hello |
happy |
intro |
filter |
tokenize |
insertion sort |
list comprehension
Math-Related Fun:
factorial |
fibonacci |
memoized fibonacci |
square root |
gcd |
towers of hanoi
Higher-Order Functions:
closure 1 |
closure 2 |
closure 3 |
closure 4 |
closure 5
list map |
summation |
lambda param |
student torture
User Input:
raw input
Object-Oriented Programming:
OOP 1 |
OOP 2 |
OOP 3 |
inheritance
Linked Lists:
LL 1 |
LL 2 |
LL sum
Pointer Aliasing:
aliasing 1 |
aliasing 2 |
aliasing 3 |
aliasing 4
aliasing 5 |
aliasing 6 |
aliasing 7 |
aliasing 8 |
sumList
More Python Tricks:
decorators |
generators |
gen expr |
varargs |
exceptions |
for-else |
nonlocal