I copied a chunk of code for my first Python script and now I'm conflicted
I began learning Python recently and tried to create a simple number guessing game as practice. Everything was going fine until I hit a wall with validating user input. I spent a couple hours stuck, then looked up solutions on a coding forum. I found a piece of code that fixed my issue instantly, so I added it to my project. Now my program runs, but I feel guilty because I didn't write that part myself. I worry that relying on ready-made code like this will stop me from truly understanding how things work. At the same time, getting unstuck helped me finish the project and feel a bit of success. How do you balance using outside code with making sure you're actually learning as a beginner? Do you think it's wrong to copy snippets when you're just starting out?