Roll dice game!
from random import randint
from time import sleep
user_guess = raw_input("Your number?")
first_roll = randint(1, number_of_sides)
second_roll = randint(1, number_of_sides)
max_val = number_of_sides * 2
user_guess == get_user_guess()
if user_guess > max_value:
print "Rolling, mofu..."
print "%d and %d" % first_roll, second_roll
total_roll = first_roll + second_roll
print "Result... "
if user_guess > total_roll:
print "You lost everything"
SyntaxError: Invalid Syntax
So, guys, I need your help. I know, there must be simple way to sovle it, but i cant find it, it would be great, if you'll help me!