I am building a program that rolls a pair of dice and asks the user to guess the sum for this exercise.
I don’t really understand the purpose of line 14 in the code that I attached below.
The purpose of line 14, according to the instruction is to "Store the returned value into a variable called
guess" but I’m still a bit confused. ‘guess’ is already defined on line 6, so why do we need line 14? Thank you in advance
“”“Number Guess Game”""
from random import randint
from time import sleep
guess = int(raw_input("Guess a number: "))
max_val = number_of_sides * 2
print “Maximum value is %d” %max_val
guess = get_user_guess()