PyCharm intellisense treats print() is an expression for Python 3
已回答
Hi All:
In the editor, PyCharm complains that
q=print(20)
is an expression.
I am running Python 3 (in which case print is a function that return None)
Code runs fine.
Please advise
请先登录再写评论。
What's your version of PyCharm? Make sure you've selected a Python 3 interpreter in File | Settings | Project | Project Interpreter.