r/PythonLearning • u/Im_the_mafia_ • Oct 11 '26
Help Request Trouble with printing
I’ve been having trouble with an assignment I’m doing and I’m not sure where I went wrong. The only error i’m getting is “‘str’ object is not callable” and i’m not sure if anything else here is wrong.
Edit: After messing around with the code a bit, turns out my code wasn’t the problem and my previous files weren’t printing. After restarting vscode, everything was fine again. Thank you everyone!
45
Upvotes
2
u/RNG_HatesMe Oct 12 '26
So you posted a picture of code asking about an error that isn't even contained *in* the code, and you're the one complaining?
Reddit's not that serious? Ok, I'll give you some not so serious advice:
Your attempt at programming in python so far is lazy and weak in the most basic code there is. You're using multiple steps where fewer steps would be clearer and simpler. You've lost track of what you are doing in step 3 by throwing everything out that you did in step 1 and step 2. You don't seem to understand what actually affects your code because you didn't even include the problem portion when asking about it.
I would *never* normally tell a beginner programmer that directly because I generally want to encourage them to improve. But I don't think you really want to, and I don't expect you'll stick to it. People who want to learn and improve don't normally insult the people who can help them.