I tried writing my first program without any tutorial and got a weird result
Last month I started learning Python and after about two weeks of following along with videos I decided to try a small project on my own. I wanted to make a little program that asks for your name and then counts the letters in it. I typed it out from memory and hit run, and instead of the count it printed the number 5 no matter what name I put in. I sat there for like 20 minutes typing different names and getting 5 every single time. It turned out I had put the number 5 inside my print line by mistake, right next to the variable, so it was just showing that number and ignoring the input. I felt pretty dumb but also kind of proud that I found it by reading my own code line by line. Now I make a point to say each line out loud in my head before I run anything. Did anyone else make a silly mistake like this when you first started out?