Two Dimensional Array

  Python

Email

from array import *

t= [[1,3,4],[3,4,5],[4,5,6],[4,5,4]]

# this coding inset of the coding
t.insert(1,[0,0,0])

# this cosing is the update of the coidng

t[2]=[11,9] t[0][2]= 7

# this is the coding is the delete of the codig

del t[2]

for i in t:

for c in i:

print(c,end= ” “)
print()

Spread the Code

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of