-
while else
While loop runs so long When it finally says goodbye The else block will shine
-
list multiplication
List multiplication Repeats elements with great ease New list is formed
-
if statements
If statements guide flow, Check conditions, control the code, Essential in code.
-
arithmetic
Python arithmetic Add, subtract, multiply, divide So many options
-
random
Random numbers come, Sequences, bytes, and integers, Python’s ‘random’ fun.
-
dictionary shallow copy
Shallow copy made New dictionary formed Mind the shared changes
-
import and dir
Import and explore, With “dir” we find attributes, Python modules thrive.
-
order multiplication exponentiation
Exponents come first Then multiplication follows Order matters most
-
try except
Try except saves us, From crashes and errors galore, Python’s grace abounds.