Home > other >  Why PyCharm assignment before and must be separated by a blank space?
Why PyCharm assignment before and must be separated by a blank space?

Time:04-13

Software: PyCharm Community Edition 2020.3.4 x64

Problem: after use can be used when the responsible: such as: X=10; But now will X=10, otherwise the system will prompt: the PEP 8: E225 missing whitespace around operator: 8, translation into Chinese is: need in front of the line 8 operator, add a space after that, to solve for the operator ('=', '& gt; ', '& lt; ', etc.) before and after the lack of space, and can,

Why want to ask 1, separated by a space before and after the assignment? 2, can do not need to be separated by Spaces, how to operate?

CodePudding user response:

Coding style should be IDE requirements, you can check the inside of the set or edit the configuration related controls,
Because the code without Spaces is directly can run the CMD window,
  • Related