Raspberry Pi practice problem · Displays
Price tag
EasyBudget $12Python · gpiozero
A 16×2 I²C LCD (0x27, SDA/SCL, 5 V) shows a tiny price list. Each line has the item left-aligned and its price with two decimals, right-aligned so it ends in column 16:
Coffee 2.50
Tea 1.75
The prices are 2.5 and 1.75 — format them, don't type the strings. Tip: f"{name:<12}{price:>4.2f}".