Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def notMINE():
- while True:
- prompt = input('Enter n to deal a new hand, r to replay the last hand, or e to end game: ')
- if prompt == 'e':
- break
- elif prompt == 'n':
- hand = dealHand(HAND_SIZE)
- game = True
- while True:
- prompt = input('Enter u to have yourself play, c to have the computer play: ')
- CODE REMOVED
- elif prompt == 'r':
- if game:
- prompt = input('Enter u to have yourself play, c to have the computer play: ')
- CODE REMOVED
- else:
- print('You have not played a hand yet. Please play a new hand first!')
- else:
- print('Invalid command.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement