Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print matrix eleme

#Exemple:
M=[[1,2,3],[4,5,6],[7,8,9]]
#Converting Matrix elements to string (join() only work with str Matrix)
M=list(map(lambda i:[str(_) for _ in i],M))
[print(' '.join(i)) for i in M]
 
PREVIOUS NEXT
Tagged: #print #matrix #eleme
ADD COMMENT
Topic
Name
6+3 =