[Solved] Why it doesn’t return anything?


def esvocal(letter):
    vocal =[ "a","e","i","o","u"]
    vocalup = ["A","E","I","O","U"]

    if letter in vocal and letter in vocalup:
        return True
    else:
        return False 
esvocal("s")
esvocal("a")
  1. Python really cares about indentation
  2. Use in instead of ==

1

solved Why it doesn’t return anything?