Posts by Rodolpho Alves • 1 point
1 post
-
-1
votes4
answers3471
viewsA: Matrix generator in Python
import random lista = [] linha = [] nc = int(input('Quantas colunas? ')) nl = int(input('Quantas linhas? ')) for i in range(nl): for i in range(nc): randomNum…