Continue statement in Python

PHOTO EMBED

Fri Sep 01 2023 10:24:25 GMT+0000 (Coordinated Universal Time)

Saved by @pythonHub #python #python-hub #basics

numbers = [51, 32, 63, 74, 45, 36, 47]

for num in numbers:
    if num % 2 == 0:
        continue
    else:
        print(num)
content_copyCOPY