r/PythonLearning • • Oct 11 '26

Help Request Trouble with printing

Post image

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

49 comments sorted by

View all comments

Show parent comments

2

u/FreeLogicGate Oct 12 '26

Don't you have an assignment you can be failing to complete competently?

1

u/Im_the_mafia_ Oct 12 '26

did you come up with that before or after picking which body pillow will be your girlfriend tonight?