I reviewed it many times and still gets this error massage: "File "NumberGuess.py", line 14
user_guess = get_user_guess()"
My code is as follow: ## This is a program that rolls a pair of dice and asks the user to guess a number. Based on the user's guess, the program should determine a winner. If the user's guess is greater than the total value of the dice roll, they win! Otherwise, the computer wins. ## from random import randint from time import sleep def get_user_guess(): user_guess = int(raw_input("Guess the result of the two rolling dices: ")) return user_guess def roll_dice(number_of_sides): first_roll = randit(1,number_of_sides) second_roll = randit(1,number_of_sides) max_val = str(number_of_sides * 2) print "The maximum possible value is " + str(max_val) sleep(1) user_guess = get_user_guess() if user_guess > max_val: print "The result guess you've enterend is above the possible maximun value" return else: print "Rolling..." sleep(2) print "The first value is: %d" % first_roll sleep(1) print "The second value is: %d" % second_roll sleep(1) total_roll = first_roll + second_roll print "result..." sleep(1) print "%d" % (total_roll) if user_guess > total_roll: print "You have won the game!" return else: print "You have lost the game." return roll_dice(6) What i'm missing here? Thanks!