Created
April 9, 2021 03:36
-
-
Save fatosmorina/9742a6a9054c1fb2552405a83b38e0bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numbers = [2, 4, 6, 8, 1] | |
for number in numbers: | |
if number % 2 == 1: | |
print(number) | |
break | |
else: | |
print("No odd numbers") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment