Code for guessing game won't print anything after I enter my number
Question: I am trying to make a guessing game with python but my code won't seem to
work. I am just getting into python so I am not the best. Here is my code.

    
    
    print "Hello"
    print "You have found me, haven't you?"
    print "Well, since you did all the work to find me..."
    print "I will let you have my diamond and gold infused microwave!"
    print "But there is a twist"
    print "You have to guess my favorite number! You only have one try!"
    print "It is a number from 1 to 5"
    
    guess=raw_input("What is my number?")
    
    import random
    
    for x in range(1):
      print random.randint(1,5)
    
    correct=random.randint
    
    def correct_number(correct):
        if correct==guess:
            print "Dang! You got it!"
        elif correct > guess:
            print "Wrong! Too low!"
        elif correct < guess:
            print "Wrong! Too High!"
    

I need it to say "Dang it! You won!" if you get it right, "Wrong! Too high!"
if your guess is too high, and "Wrong! Too low!" if your guess is too low.


Answer: 
    correct=random.randint
    

This sets `correct` to be the function _that produces_ a random number, not a
random number itself.

There's a number of things wrong or "weird" about the code, but this is what's
causing your error. You should instead CALL the function

    
    
    correct = random.randint(1,5)
    

And speaking of calling functions, you never call your `correct_number`
function either. You should probably do something like:

    
    
    guess = raw_input("what is my number? ")
    correct = random.randint(1,5)
    
    def correct_number():
        if guess == correct:
            # yay
        if guess < correct:
            # too low
        if guess > correct:
            # too high
    
    correct_number()
    

