I need to add 2 logic statements in the following code. I need one for if you are under the age of 18 and another one that only lets you enter 2 letters for a state. Both statements need to exit the program and I think that is where I am confused at. I am very new to python, so any help is greatly appreciated. I think I can put if statements but I don't know how to make them exit the program, I only know how to make them print
print('Welcome to the US Voter Registration System')
con = input('Do You Want to Continue: Yes Or No? ')
while con == 'Yes':
    name = input('Please Enter Your First Name: ')
    name2 = input('Please Enter Your Last Name: ')
    age = int(input('Please Enter Your Age *** YOU MUST BE 18 OR OLDER ***: '))
    cit = input('Are You A US Citizen? Answer Yes or No: ')
    state = input('Please Enter Your State?' 'Please only 2 letters: ')
    zipc = int(input('Please Enter Your Zip Code? '))
    con = input('You Are Finished Please Type Done: ')
    print('NAME: ', name, name2)
    print('AGE: ', age)
    print('US CITIZEN:', cit)
    print('STATE: ', state)
    print('ZIP CODE: ', zipc)
    print('Thank You For Using the US Voter Registration System ')
    print('Please Check Your Mail For More Voting Information ')
 
    