Other
Useful tricks that do not fit in another topic.
Line up columns
Give a value a set width
:<10 after the name makes the value take up 10 spaces, so whatever comes next lines up.
item1 = "Burger"
item2 = "Fries"
print(f"{item1:<10}$1.59")
print(f"{item2:<10}$2.79")Output
Burger $1.59 Fries $2.79