Danial A. answered 03/27/22
Experienced Programming Tutor and Web Developer
#This imports the random module
import random
#This is repeated four times (the rows)
for i in range(4):
#This is repeated five times (the columns)
for j in range(5):
#This prints a random number between -30 and 30
print(random.randint(-30, 30),end = ' ')
#This prints a new line
print()