Ad
Numbers
Data Types
Algorithms
Logic
Code
Diff
  • def isOdd(n):
        return str(bool(n % 2))
    • def isOdd(n):
    • return str(n % 2 > 0)
    • return str(bool(n % 2))