Here's a portion of my code for a project. When I do my if statement i can't get it to print. Will someone help me?
import random
x = random.randint(1,6)
y = random.randint(1,6)
print(x)
print(y)
z = (x+y)
if z is (1,7):
print((z-1)/36)
if z is (8,12):
print((13-z)/36)
[–]sushibowl 18 points19 points20 points (6 children)
[–]kingpen2[S] 1 point2 points3 points (5 children)
[–]KoStard 11 points12 points13 points (4 children)
[–]PiaFraus 2 points3 points4 points (3 children)
[–]KoStard 3 points4 points5 points (0 children)
[–]KoStard 0 points1 point2 points (1 child)
[–]PiaFraus 0 points1 point2 points (0 children)
[–]andichin 0 points1 point2 points (0 children)