Modules (Random) PYTHON3
francnstein
Posted on April 29, 2020
Modules are pieces of code that other people have written to fulfill common tasks, such as generating random numbers, performing mathematical operations, etc.
random selects random numbers in this case 1-20
import random
for i in range(20):
value = random.randint(1,20)
print(value)
💖 💪 🙅 🚩
francnstein
Posted on April 29, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.