samedi 19 mars 2016

Can not get out back to response ==

response = input("Please Enter a Response: ")
while(response != '0'):
    if response == '1':
        son = input('Please Enter Your Name: ').lower()
        if son in Daddy:
            father = Daddy[son]
            print('Your DADDY is',father)
        else:
            print('sorry your name is not in our Census!')

I need help to figure out how to get out of this if block so that i can put in another response.

Aucun commentaire:

Enregistrer un commentaire