Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Simple Python script for Dice Game
  • Loading branch information
Vinayak911dj authored Jul 5, 2024
0 parents commit 9c5c4d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dice_Game.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import random

while True:
print(f'The number is {random.randint(1,6)}')
user_input=input('Do you want to continue? Y/N:')
if user_input == 'n':
break

0 comments on commit 9c5c4d8

Please sign in to comment.