Turn any topic into the
perfect cheat sheet
Optional: Attach syllabus or
notes (up to 3 files, 20MB max)
Your exam prep, reimagined
Prepare a cheatsheet
in your own
handwriting
for your exam!
Computer Science ยท Python
Variables & Types
โข x = 5 โ int
โข s = "hi" โ str
โข arr = [1,2,3] โ list
โข d = {k:v} โ dict
Loops
โข for i in range(n):
โข while cond:
โข break / continue
โข [x for x in arr]
Functions
โข def f(x, y=0):
โข return val
โข *args, **kwargs
โข lambda x: x+1
OOP
โข class Dog:
โข def __init__(self):
โข self.name = name
โข inheritance: (Base)
Big-O
โข O(1) โ hash lookup
โข O(log n) โ binary
โข O(n log n) โ sort
โข O(nยฒ) โ nested loop
Key Methods
โข len(arr), arr.sort()
โข str.split(), join()
โข dict.get(k, def)
โข set(), zip(), map()
๐ Handwriting fonts
๐จ Color-coded sections
๐ฅ Export as PDF
๐ Sync across devices