Guys, please help me explain why I have so many red prompts.
帆
2020-10-09 22:54:36
0
2
1457

1.jpg Guys, new technical secondary school students are starting their journey, why are there so many red numbers here

帆

reply all(2)
移动用户-6305425

The indentation at the same level must be consistent, and a colon must be added after the conditional judgment. In addition, it is better to use elif directly. There is no need to nest another one to reduce execution efficiency. I suggest you watch the 600-episode tutorial of Dark Horse Programmer at Station B. That one is more detailed and standardized. The one by Little Turtle is not suitable for pure beginners.

Dispensable

Python’s indentation is also part of the syntax, which represents the hierarchical relationship between codes.

Judging that there is no need for spaces or tabs in front

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template