import random as r
def main():
roll1 = r.randint(1,6)
roll2 = r.randint(1,6)
point= 4,5,6,8,9,10
sum= roll1 + roll2
print("phase 1")
print ("You rolled:", roll1, "and", roll2)
if sum == 2 or sum== 3 or sum == 12:
print("Game Over. You lose" )
elif sum == 7 or sum == 11:
print("You won!Game over")
elif sum in [4,5,6,8,9,10]:
print("point", roll1+roll2)
while sum == point:
print("phase 2")
if sum== 7:
print("you lose")
elif sum== point:
print("you win!")
else: sum !=7 and sum !=point
Beginner coder and having some trouble with a while loop for this assignment making a simple craps game. This is what I have so far...