filmov
tv
Python beginner tutorial: #6 Dice Roll

Показать описание
In this tutorial you gonna learn how to implement a program to roll dices
Timestamps
00:00 | intro
00:44 | algorithm
01:52 | step 1
02:01 | step 2
02:48 | randint to simulating rolls
03:17 | _ as cycling variable
04:37 | list comprehension
05:33 | int
06:15 | step 3
07:28 | storing images as list of string
08:47 | displaying dices next to each other over a row
10:42 | displaying dices over multiple rows
11:39 | screen width
12:34 | floor and ceil
13:52 | list indexes and slicing
––––––––––––––––––––––––––––––
Timestamps
00:00 | intro
00:44 | algorithm
01:52 | step 1
02:01 | step 2
02:48 | randint to simulating rolls
03:17 | _ as cycling variable
04:37 | list comprehension
05:33 | int
06:15 | step 3
07:28 | storing images as list of string
08:47 | displaying dices next to each other over a row
10:42 | displaying dices over multiple rows
11:39 | screen width
12:34 | floor and ceil
13:52 | list indexes and slicing
––––––––––––––––––––––––––––––