Answers for "print 4 random numbers python"

2

generate 12 random numbers python

#Array containing 12 random integers from 0 to 100
data = np.random.randint(100,size=(12))
print(data)
Posted by: Guest on August-13-2021
10

python function to print random number

import random
n = random.randint(0,22)
print(n)
Posted by: Guest on June-03-2020

Code answers related to "print 4 random numbers python"

Python Answers by Framework

Browse Popular Code Answers by Language