###### NPTEL solution

## Week 3 | Programming Assignment | Programming, Data Structures and Algorithms using Python | Apr 2018

Download Python File :- Raw File | Download (Please rename it to .py file once downloaded, for it to run) def alternating(l): if(len(l)>1): if(l[0]>l[1]): for i in range(len(l)-1): if(l[i]==l[i-1]): return False if(i%2==0): if(l[i] lst[i+1]: return False return True def matmult(X,Y): col= len(Y[0]) row= len(X) result = [[0 for i in range(col)] for Read more…