summaryrefslogtreecommitdiff
path: root/progs/a743.py
blob: 76bd95b8e88fae395eb81e6f99c789af863a3f63 (plain)
1
2
3
4
5
6
def multi_list(rownum,colnum):
  multi_list = [[0 for col in range(colnum)] for row in range(rownum)]
  for row in range(rownum):
    for col in range(colnum):
        multi_list[row][col]= row*col
  return multi_list