-
assert
Assert in Python Checks conditions and values Debugging delight
-
dict and set types
Dicts hold keys and vals Sets are unordered and free Unique elements
-
abs and complex numbers
Abs in Python code Complex numbers have their place Magnitude revealed
-
calculate rectangle
Length times width gives area Perimeter needs length and width Python makes math easy
-
print instance of Person class
Person class instance, Printed details come to light, Python reveals all.
-
substring not found
Substring not found Returns -1 in Python Handle with caution
-
list comprehension square numbers
List comprehension Generates square numbers fast Efficient and neat
-
minimal flask
Minimal Flask shines, Simple routes and templates too, Testing support strong.
-
install flask
Install Flask with pip Create virtual environment Start building web apps