Python3. How to use random? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Python3. How to use random?

How to use random?

27th Nov 2018, 5:29 PM
marineboy1
marineboy1 - avatar
1 ответ
+ 3
There are different random functions which you can import from the module random. For example: from random import randint This gives you a random int between two numbers, for example 1 and 100: x = randint(1, 100)
27th Nov 2018, 6:18 PM
HonFu
HonFu - avatar