Advertisement
1nikitas

Untitled

Dec 3rd, 2021
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. def create_random_array(m,n):
  2. array = []
  3.  
  4. for i in range(m):
  5. array.append([])
  6. for j in range(n):
  7. array[i].append(random.randint(-50, 50))
  8.  
  9. return array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement