NPTEL | Joy of computing using Python | WEEK 7 | Programming Assignment 2: symmetric

Week 7 question 1 :

Week 7 question 2:

Week 7 question 3:

Week 7 quiz:

Best Coding Tricks Online

NPTEL | Joy of computing using Python | WEEK 7 | Programming Assignment 2: symmetric

Week 7 question 1 :

Week 7 question 2:

Week 7 question 3:

Week 7 quiz:

n=int(input())

a=[]

z=[]

for i in range(n):

l=[]

l2=[]

for j in range(n):

l.append(0)

l2.append(0)

a.append(l)

z.append(l2)

for i in range(n):

o=[int(g) for g in input().split(" ")]

for j in range(n):

a[i][j]=o[j]

for i in range(n):

for j in range(n):

z[i][j]=a[j][i]

if (z==a):

print("YES",end='')

else:

print("NO",end='')

Week 7 question 1 : https://youtu.be/F69oY2ljCQw

Week 7 question 2: https://youtu.be/unwzuLzTR8c

Week 7 question 3: https://youtu.be/JzJV8Bm__bI

Week 7 quiz: https://youtu.be/kOasMWFq5sg