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
Next Next commit
optimized the code
  • Loading branch information
mubashirm1 committed Oct 16, 2024
commit c8ac86a775831b065f9bc93d5f4dec4b7e2ec5ba
3 changes: 0 additions & 3 deletions 8-modules/39_slot_machine_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ def play():
if win:
print('Jackpot!!! 💰')
break
else:
results = random.choices(symbols, k=3)

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