Beginner Dice Rolling Simulator Using Python (Source Code @ Description) in 4 Mins | Python World

Published: 03 January 2021
on channel: Python World
63
6

This Video helps you to learn learn Python using a simple Python game.This Tutorial gives step-by-step Analysis to Build a Dice Rolling Game Using Python.
_______________________________________________
Source Code :
import random as rd
import time as t

tit = 'Dice Rolling Simulator'
print(tit.center(83))

ch='y'

while ch in ['y','Y']:
roll=input('Type as "roll" to roll the dice :')
if roll=='roll':
x=rd.randint(1,6)
print('\n\nRolling Dice...')
t.sleep(3)
print('\n\nYou rolled and get',x)
ch=input('\n\nDo you want to roll again(y/n)')

print('\n\nThanks for playing the Simulator\n\n')
___________________________________________________________
Video Link :    • Beginner Dice Rolling Simulator Using Pyth...  

PLEASE SUBSCRIBE,LIKE AND SHARE THIS VIDEO AND CHANNEL.
Music by NCS
Music :Electronomia (Sky Release)
Music Link:    • Elektronomia - Sky High | Progressive Hous...  


On this page of the site you can watch the video online Beginner Dice Rolling Simulator Using Python (Source Code @ Description) in 4 Mins | Python World with a duration of hours minute second in good quality, which was uploaded by the user Python World 03 January 2021, share the link with friends and acquaintances, this video has already been watched 63 times on youtube and it was liked by 6 viewers. Enjoy your viewing!