I try getting this to run but when I put the command in to start running it, nothing will happen after. I’ve tried so many checking my code, what am I missing?
from random import randint
from time import sleep
user_guess = int(raw_input("Guess a number: "))
first_roll = randint(1, number_of_sides)
second_roll = randint(1, number_of_sides)
max_val = number_of_sides * 2
print "The maximum possible value is: " + str(max_val)
user_guess = get_user_guess()
if user_guess > max_val:
print "No guessing higher than total value of dice roll!"
print “The first value is %d” % first_roll
print “The second value is %d” % second_roll
total_roll = first_roll + second_roll
print “The total roll value is %d” % total_roll
if user_guess > total_roll:
print "You won!"
print "Game lost!"