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

Publicado em: 03 Janeiro 2021
no canal de: 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...  


Nesta página do site você pode assistir ao vídeo on-line Beginner Dice Rolling Simulator Using Python (Source Code @ Description) in 4 Mins | Python World duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Python World 03 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 63 vezes e gostou 6 espectadores. Boa visualização!