I am writing a function to test if a string length is odd or even, but running into some issue when I try to test the result. I get back the result odd, and None. I need it run for the test result but it's testing my function value. What am I missing here? Thanks.
Below is the function:
    def strEorO(inputVal):
       if len(inputVal) % 2 == 0:
          print('even')
       else:
          print('odd')
Here is where i am testing the function:
   result = strEorO('airplane')
   print(result)
 
    