```
"""
Roll the dice
"""
from random import randint
from time import sleep
def get_user_guess():
guess = int(raw_input("guess a number:"))
return guess
def roll_dice(number_of_sides):
first_roll = random(1, number_of_sides)
second_roll = random(1, number_of_sides)
max_val = number_of_sides * 2
print "Max possible valuse:%d" % max_val
guess = get_user_guess()
if guess > max_val:
print "invalid"
roll_dice(6)
```

no ouput:

$ python NumberGuess.py

https://www.codecademy.com/courses/learn-python/projects/number-guess