Jun 10, 2017

[HDGEM] How to input from stdin to matrix using Python

size = input()  matrix = []    # reading input  for _ in xrange(size):      row = map(int, raw_input().split())      matrix.append(row)



--
Posted By Blogger to HDGEM at 6/10/2017 06:43:00 PM