A collection of funny, cursed, weird, and surprising Python behaviors.
- Hidden Python Easter eggs
- Weird comparisons
- Mutable default argument trap
- Boolean math
- Floating point madness
- Antigravity comic
- Secret hello-world module
- And more chaos π
python funny_python.pyTrue + True
# 2x = float("nan")
x == x
# Falsedef add_item(x, arr=[]):
arr.append(x)
return arrHidden Python Easter Eggs
import this
import antigravity
import __hello__This repository may cause:
- confusion
- laughter
- existential crisis
- unexpected debugging trauma
Made with chaos and coffee β