Optional: good to know Step 5 of 16 on the Python Developer roadmap
Comprehensions
A comprehension builds a new list or dict in a single line, for example [p * 2 for p in prices]. Learn them once normal loops feel easy, and keep them short enough to read at a glance.