-
list member assignment
List member at hand Change, add, remove with index Manipulate list
-
list of lists
Lists within lists form Structured data, nested loops Python’s powerful.
-
if within print
If within print, I Control the message displayed Code speaks with intent
-
while if mod break
While loop keeps going If condition is not met Break out and be free
-
random passwords
Random passwords spin Mixing characters and numbers Security dance
-
hashing words
Words hashed to numbers One-way function, cannot reverse Efficient data
-
compare with is
“Is” checks object’s home Values differ, identity Use with care in Python
-
enumerate
Enumerate yields Index and value in sequence Python’s handy tool
-
any and all
Any and all check, Iterables for truth or false, Python’s handy tools.