173k views
3 votes
I got some coding hw. Thanks! :)

I got some coding hw. Thanks! :)-example-1
User Nrodic
by
7.0k points

1 Answer

2 votes

Python:

#Libraries

import random

#Creating list

list = [[random.randint(-99,99) for j in range(4)] for i in range(5)]

#Print list

for i in list:

for j in i:

print(j,end='\t')

print()

I got some coding hw. Thanks! :)-example-1
User Muhammad Abrar
by
8.7k points