Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13-python-装饰器 - Ainslee的知识星球 #13

Open
lt-ainslee opened this issue Aug 18, 2023 · 0 comments
Open

13-python-装饰器 - Ainslee的知识星球 #13

lt-ainslee opened this issue Aug 18, 2023 · 0 comments

Comments

@lt-ainslee
Copy link
Owner

http://118.25.25.60/2023/08/18/13-python-%E8%A3%85%E9%A5%B0%E5%99%A8/

一 引子:流程控制即控制流程,具体指控制程序的执行流程,而程序的执行流程分为三种结构:顺序结构(之前我们写的代码都是顺序结构)、分支结构(用到if判断)、循环结构(用到while与for) 二 分支结构2.1 什么是分支结构分支结构就是根据条件判断的真假去执行不同分支对应的子代码 2.2 为什么要用分支结构人类某些时候需要根据条件来决定做什么事情,比如:如果今天下雨,就带伞 所以程序中必须有相应的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant