I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Not exactly - it will read a string and try to parse it as if it was written in Python code. Ofcourse if you write a calculation you could write in Python, it will parse it.
However if you write another command - it will ALSO parse it. eval("print('This is inside eval()')") will also be executed as a print command. And if I put some insanely massive list-comprehension there, I can completly overwhelm your computer. As in, I literally wrote list comprehension that forced me to do a hard resett of my computer.