def vowels (list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow

def consonant (list, var):
    vow = []
    for i in var:
        if i not in list:
            vow.append(i)
    return vow


var = "perscholas"
list = ["a", "e", "i", "o", "u"]

print(vowels(list, var))
print(consonant(list, var))
d688eb83af18a8aa2ac56a445e05ba4485436c51
def vowels(list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow


<mask token>

def vowels(list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow


def consonant(list, var):
    vow = []
    for i in var:
        if i not in list:
            vow.append(i)
    return vow


<mask token>

def vowels(list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow


def consonant(list, var):
    vow = []
    for i in var:
        if i not in list:
            vow.append(i)
    return vow


<mask token>
print(vowels(list, var))
print(consonant(list, var))

def vowels(list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow


def consonant(list, var):
    vow = []
    for i in var:
        if i not in list:
            vow.append(i)
    return vow


var = 'perscholas'
list = ['a', 'e', 'i', 'o', 'u']
print(vowels(list, var))
print(consonant(list, var))

def vowels (list, var):
    vow = []
    for i in var:
        if i in list:
            vow.append(i)
    return vow

def consonant (list, var):
    vow = []
    for i in var:
        if i not in list:
            vow.append(i)
    return vow


var = "perscholas"
list = ["a", "e", "i", "o", "u"]

print(vowels(list, var))
print(consonant(list, var))