[Solved] Python – print in an if,elif, else statement


def input_guess(guess):

    ....

    if guess_num == real_num:
        print 'Congratulations, blablabla!'
        new_game()
    else:
        print 'You guessed: ', guess_num,'.',
        print 'You have', remainding_guess_times, 'guesses left.',

        if guess_num > real_num:
            print 'blablabla'
        else:
            print 'blablabla'

solved Python – print in an if,elif, else statement