Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
initial commit
  • Loading branch information
mubashirm1 committed Oct 16, 2024
commit 85757d4a9faf47dd2aaa9bd0e5ae97eb51564cdf
3 changes: 3 additions & 0 deletions 8-modules/39_slot_machine_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def play():
if win:
print('Jackpot!!! 💰')
break
else:
results = random.choices(symbols, k=3)

answer = ''
while answer.upper() != 'N':
play()
Expand Down