Python: Random Numbers, Strings, and Choices

preview_player
Показать описание
Related Post:

An intro to using the Python random module. A simple dice simulation is used towards the end of the video to wrap things up.

Items Covered:
- Random Module
- Random Ranges for Integers
- Random Functions for Sequences
- Random Shuffling and Sampling
- Random Strings
- Dice Simulation
Рекомендации по теме
Комментарии
Автор

How would you randomize a set of numbers using the input method.

rafaelgalvan
Автор

can someone help me how to fix invalid syntax error

Milan
Автор

Thanks now i'm making a scammer's email HELL

wach
Автор

hey man FROM BRAZIL

kk thxxx =) tupla

from random import sample
tupla= (10, 5, 8, 9, 4)
<<<
computador = sample(tupla, 5)
<<<
print(computador)

ZanataMahatma
visit shbcf.ru