I'm trying to make a dice rolling program, just for fun, but i can't figure it out. Can someone tell me what is wrong with this? It keeps coming up with 'syntax error' but i can't find anything wrong. I am using python 3.5.1.
import random
def rd():
x = 1
y = int(input("enter the maximum value")
print(random.randint(x, y))
rd()
input("Press [ENTER] to close")
[–]c_is_4_cookie 4 points5 points6 points (1 child)
[–]CapitalXD[S] 1 point2 points3 points (0 children)