Python study notes (CSDN) - 2 - Programming ideas

First upload the link and mind map

Programming Thoughts-Preliminary Knowledge-CSDNPython Entry Skill Tree

 1.Python programming ideas

Simply put, it is object-oriented. Objects contain data and methods.

The key point is to understand the functional logic

2. Basic programming patterns

Determine the IPO, write the program, debug the program

IPO

  • I: Input input, input of the program

  • P: Process processing, the main logical process of the program

  • O: Output output, the output of the program

3. Top-down (design)

Dismantle the problem and carry out modular design, simple module processing such as addition, subtraction, multiplication and division

4. Bottom-up (execution)

To put it simply, it is to integrate the above "top-down" modules and conduct testing, tuning and verification.

Guess you like

Origin blog.csdn.net/weixin_44362628/article/details/126390231