import random
money = 100
Ask user if they want to play or "QUIT" (.upper())
while game != "QUIT":
2 dice generate random numbers 1-6 on each (generate random
numbers inside while loop)
Every roll cost $3
Win $5 if total is 7
Win $10 for snake eyes
Else display " Craps"
Ask user if they want to play or "QUIT"
if money<3
game ="QUIT"
Print money
Allison_5 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.