how to

random

Jan 15, 2024
langspython
1 Minutes
17 Words
1
import random
2
3
a = random.random()
4
n = random.randint(2, 15) # 2 to 15
5
n = random.randrange(2, 15)
Article title:random
Article author:Julyfun
Release time:Jan 15, 2024
Copyright 2025
Sitemap