You probably want a return on the last line:
return
return isIn(char, aStr)
Without it, the function simply returns None when it terminates without seeing a return.
None
1.4m articles
1.4m replys
5 comments
57.0k users