you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago
if n% 2 == 0:
    print("Even")
else:
    print("Odd")
if (n+1)%2 == 0:
    print("Even")
else:
    print("Odd")
.
.
.    
  • source
  • parent