fork(20) download
  1. def gerar_matriz (n_linhas, n_colunas):
  2. return [[" "]*n_colunas for _ in range(n_linhas)]
  3.  
  4. print(gerar_matriz(2, 3))
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
[[' ', ' ', ' '], [' ', ' ', ' ']]