Answers for "making a 2d array using arrays as columns in python"

3

2d array in python

from array import *

T = [[11, 12, 5, 2], [15, 6,10], [10, 8, 12, 5], [12,15,8,6]]
for r in T:
    for c in r:
        print(c,end = " ")
    print()
Posted by: Guest on July-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language