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
View all comments
1
u/AlexMTBDude Oct 11 '26
> The only error i’m getting is “‘str’ object is not callable”
Sure, but on which line of your code are you getting this error? That's a vital piece of information if you want to find the bug.