/is-odd-python

Checks if a number is odd

Primary LanguagePython

is-odd-python

Checks if a number is odd

How to use it

Download the python file in the same folder as you want your project to be. To include the python file use:

from isOdd import odd

And to use it do:

from isOdd import odd

num = odd(1)
if num == False:
  print("The number is not odd")
else:
  print("The number is odd")