Mekonah.com Greetings Code

first_name = raw_input("What is your first name (Press Enter): ")
last_name = raw_input("What is your last name (Press Enter): ")

print "Hello", first_name, last_name

def question():
    question = raw_input("Do you like to code yes or no? ")
    check_out_site(question.lower())

def check_out_site(input):
    
    if(input == "yes"):
        print "That is awesome mekonah.com is the site for you"

    elif(input == "no"):
        print "Well still check out mekonah.com and hopefully we can change that"

    else:
        print "your input was not recognized please try again"
        question()
    
question()
 

Leave a Reply