WEEK-3 PDSA PYTHON NPTEL PROGRAMMING ASSIGNMENT 2020

Published: 09 February 2020
on channel: Glad you seen
527
6

Here is the code for pdsa python week3 programming assignment

Pastebin url:
https://pastebin.com/NzjgC8qY


Please share my channel and help me in winning 1k subs and hearts

def remdup(l):
return list(dict.fromkeys(l).keys())
def sumsquare(z):
even=filter(lambda x:x%2==0,z)
even_sum=sum([i**2 for i in even])
total=sum([i**2 for i in z])
return [total-even_sum,even_sum]
def transpose(z):
rows=len(z)
cols=len(z[0])
temp=[[0 for i in range(rows)] for j in range(cols)]
n_rows=len(temp)
n_cols=len(temp[0])
for i in range(n_rows):
for j in range(n_cols):
temp[i][j]=z[j][i]
return temp


On this page of the site you can watch the video online WEEK-3 PDSA PYTHON NPTEL PROGRAMMING ASSIGNMENT 2020 with a duration of hours minute second in good quality, which was uploaded by the user Glad you seen 09 February 2020, share the link with friends and acquaintances, this video has already been watched 527 times on youtube and it was liked by 6 viewers. Enjoy your viewing!