"The program first creates a list of size 4x5 and assigns randomly generated numbers to its indices. It then prints the list in a grid format on the screen. Best of luck."
import random
#Create list as 4x5 and assign random values between -100 and 100.
list = [[random.randint(-100, 100) for j in range(5)] for i in range(4)]
#Print as grid.
for i in range(len(list)):
for j in range(len(list[0])):
print(list[i][j], end=" ")
print()