def voter(age):


    if age < 18:

        raise ValueError("Value Error Found")

    return "You Are allow to Vote"

try:
    print(voter(21))

except ValueError as e:
    print(e)
0059c854c7109595ddf166787dbef6ebf7118d88
<mask token>

def voter(age):
    if age < 18:
        raise ValueError('Value Error Found')
    return 'You Are allow to Vote'


<mask token>

def voter(age):
    if age < 18:
        raise ValueError('Value Error Found')
    return 'You Are allow to Vote'


try:
    print(voter(21))
except ValueError as e:
    print(e)

def voter(age):


    if age < 18:

        raise ValueError("Value Error Found")

    return "You Are allow to Vote"

try:
    print(voter(21))

except ValueError as e:
    print(e)