📜  continue 语句 python 代码示例

📅  最后修改于: 2022-03-11 14:45:32.985000             🧑  作者: Mango

代码示例4
# Example of continue loop:

for number is range (0,5):
    # If the number is 4, skip the rest of the loop and continue from the top.
    if number == 4:
      continue
    
    print(f"Number is: {number}")