How To Make Dice Simulator | Using Python | Beginner Python Project |

Publié le: 09 juin 2021
sur la chaîne: ProrammingWith Somesh
45
5

Hi guys, in this video I'm going to show you how to make a Dice Simulator using python. so if you like this video, please Subscribe to my channel for more programming-like content.

Code:-
The Dice Simulator
import random

again = True

while again:
print(random.randint(1,6))
another_roll = input("Want To Roll Again (Y/N): ")
if another_roll.upper() == 'Y':
continue

else:
break

THANK YOU FOR WATCHING : )


Sur cette page du site, vous pouvez voir la vidéo en ligne How To Make Dice Simulator | Using Python | Beginner Python Project | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ProrammingWith Somesh 09 juin 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 45 fois et il a aimé 5 téléspectateurs. Bon visionnage!