Created
September 12, 2021 21:17
-
-
Save SirmaXX/9f52bb0c6e03d6de81036f4a14a3dc24 to your computer and use it in GitHub Desktop.
deneme
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
| number = (1,2,3,4,5,6,7,8,9,10) | |
| def odd(number): | |
| if number % 2==0: | |
| return True | |
| else : | |
| return False | |
| errorcount=1 | |
| domaincount=1 | |
| for i in number : | |
| while domaincount < len(number): | |
| if odd(i)==True: | |
| domaincount =domaincount+1 | |
| print("cift") | |
| print(number[i]) | |
| else : | |
| errorcount=errorcount+1 | |
| print("tek") | |
| print(number[i]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment