python next day and Kaka

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/xjmhsxs/article/details/102666139

Coupons, to study the next day punch python
a, conditional statements
if Condition 1:
Statement 1
elif Condition 2:
Statement 2
the else:
statement 3
Here Insert Picture Description
II loop
1, while loop
while condition true
loop 1
Here Insert Picture Description
the else:
loop 2
2 , for loop
for a target in the object:
for a target in range (the initial value, the end value (no), step):
Here Insert Picture Description
. 3, BREAK and continue
BREAK terminator cycle
continue to terminate the present cycle, start determination condition for the next loop
pass skip cycle

Guess you like

Origin blog.csdn.net/xjmhsxs/article/details/102666139