Answers for "continue in if else statement python"

7

continue statement python

import numpy as np
values=np.arange(0,10)
for value in values:
  if value==3:
    continue
  elif value==8:
    print('Eight value')
  elif value==9:
    break
Posted by: Guest on March-21-2020
0

continue statement in python

for i in range (10):
    if i == 5:
            continue 
    print(i)
Posted by: Guest on January-11-2022

Code answers related to "continue in if else statement python"

Python Answers by Framework

Browse Popular Code Answers by Language