Skip to content

Instantly share code, notes, and snippets.

@SirmaXX
Created September 12, 2021 21:17
Show Gist options
  • Select an option

  • Save SirmaXX/9f52bb0c6e03d6de81036f4a14a3dc24 to your computer and use it in GitHub Desktop.

Select an option

Save SirmaXX/9f52bb0c6e03d6de81036f4a14a3dc24 to your computer and use it in GitHub Desktop.
deneme
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