Programming protip: We all make typos that causes our programs to fail, & which takes us forever to locate & fix.
You doing it doesn't mean you're a bad programmer. It means you're just like the rest of us!
Single-character typos are the worst!
---
Addendum: If you wish to say "not me!" please first watch Sebastian Lague: https://inv.nadeko.net/playlist?list=PLFt_AvWsXl0ehjAfLFsp1PGaatzAwo0uK (YouTube via Invidious)