I am having trouble correcting the syntax on this problem so far and I can't seem to find my mistake any ideas on what I am doing wrong ? The object of the program is to ask user for amount of money to put in the pot, and play until the pot is empty.
import random
mypot = int(input("Please enter the amount of money you want in the pot: "))
diceroll1 = random.randit(1, 7)
diceroll2 = random.randit(1, 7)
myrole = (diceroll + diceroll2)
if myrole == 7:
print("Your roll was a 7 you eaerned: ", mypot + 4)
else:
print("Your roll was not a seven you lost: ", mypot - 1)