import random
print(random.random()) # 0.9449282236205908
print(random.random()) # 0.297501908739908
import random
print(random.uniform(2,5)) # 3.641231407326168
print(random.uniform(2,5)) # 3.0820775843719668
import random
⛅生成大于等于 2 且小于等于 5 之间的整数
print(random.randint(2,5)) # 4
print(random.randint(2,5)) # 2
print(random.randint(2,5)) # 5