[Solved] Why it doesn’t return anything?

[ad_1]

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

[ad_2]

solved Why it doesn’t return anything?