Str Python error?
Hi everyone, I just started using Python and wanted to build some kind of calculator.
As you can see, this error code is popping up on the right, but I haven't quite figured out what it means yet. I hope someone can help me. If you have any tips, feel free to post them, as I'd like to improve myself.
Thank you in advance
In line 5, you have an assignment to print. Print is then a series of characters and the attempt (in line 11) to call the print function is missing.
Improve line 5 so:
The equality sign between the word print and the opening clip must not stand there and is undoubtedly also only a misfortune in your program text.
Thank you very much I didn’t see this thank you very much
The incorrect error in line 5 has also caused the text
was not written into the console. You could have noticed. However, I noticed this only after I already realized the mistake. What I want to say is this: In troubleshooting, it can also be helpful to look at the console protocol exactly and to check if there is really everything that should be in it.
Best regards
line 11 missing the ” signs
Since a variable is to be output here, no quotes are missing.
the answer should be output as string.
That’s exactly how I thought it was all that was written in “” that comes out
That doesn’t change – then the answer would be “answer”.