def main():
sides = 6
while rolling:
roll_againinput("ready to roll? ENTER = Roll. Q=Quit")
if roll_again.lower() != 'q':
num_rolled = roll(sides)
print ("you rolled a", num_rolled)
else:
rolling = false
print("thanks for playing")
main ()
File "<ipython-input-21-368344836b58>", line 8
else:
^
SyntaxError: invalid syntax
Aucun commentaire:
Enregistrer un commentaire