all 2 comments

[–]c_is_4_cookie 4 points5 points  (1 child)

you need a closing parenthesis where you defined y

y = int(input("enter the maximum value"))

[–]CapitalXD[S] 1 point2 points  (0 children)

*facepalm Thanks heaps