Dice Roller Simulation in Python | Python Beginner Project | GaneshRawatz #diceroller #pythonproject

preview_player
Показать описание
Learn to make dice roller simulation.
Code is given below 👇! Let me know, what's your next project wish?
Like, Comment, Share with your friends! Finally, don't forget to subscribe.
#python #pythontutorial #pythonproject #pythonprojects #pythonprojectideas #pythonprojectsforbeginners #advancepython #pythonprojectswithsourcecode #ganeshrawatz
Code:
import random
while True:
user_input = input("Press enter to roll dice or 'q' to quit: ")
if user_input == "q":
print("Thanks for playing, Goodbye!")
break
if user_input == "":
else:
print("Invalid input! Please press 'enter' key!\n")

Subscribe @GANESHRAWATZ to get more projects which gives me support!
Рекомендации по теме
join shbcf.ru