Here's a quick optimization that you can perform in Python with enumerate(). ▶ Become job-ready with Python: https://www.indently.io ▶ Follow me on Instagram: https://www.instagram.com/indentlyreels 00:00 Intro 00:10 enumerate() 01:38 The tests 03:53 A good optimisation? 04:14 That’s it