We Discuss About That NPTEL Programming Data Structures And Algorithms Using Python Assignment 5 Answer

NPTEL Programming Data Structures And Algorithms Using Python Assignment Answer â€“ Here All The Questions and Answers Provided to Help All The Students and NPTEL Candidate as a Reference Purpose, It is Mandetory to Submit Your Weekly Assignment By Your Own Understand Level.

Are you looking for the Assignment Answers to **NPTEL Programming Data Structures And Algorithms Using Python Assignment 5 Answer? **If Yes You are in Our Great Place to Getting Your Solution, This Post Should be help you with the Assignment answer to theÂ **Nation**** al Programme on Technology Enhanced LearningÂ (NPTEL)** Course

**â€śNPTEL Programming Data Structures And Algorithms Using Python Assignment 5 Answerâ€ť**

Table of Contents

## NPTEL Programming Data Structures And Algorithms Using Python Assignment

**INTENDED AUDIENCE:**Â Students in any branch of mathematics/science/engineering, 1st year

**PREREQUISITES:**Â Â Â Â Â School level mathematics.

**INDUSTRY SUPPORT:Â Â**This course should be of value to any company requiring programming skills.

**Next Week Assignment Answers**

This course can have Associate in Nursing unproctored programming communication conjointly excluding the Proctored communication, please check announcement section for date and time. The programming communication can have a weightage of twenty fifth towards the ultimate score.

- Assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
**( All assignments in a particular week will be counted towards final scoring â€“ quizzes and programming assignments).Â**- Unproctored programming exam score = 25% of the average scores obtained as part of Unproctored programming exam â€“ out of 100
- Proctored Exam score =50% of the proctored certification exam score out of 100

**YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF ASSIGNMENT SCORE >=10/25 AND**

**UNPROCTORED PROGRAMMING EXAM SCORE >=10/25 AND PROCTORED EXAM SCORE >= 20/50.Â**

**If any one of the 3 criteria is not met, you will not be eligible for the certificate even if the Final score >= 40/100.Â**

**CHECK HERE OTHERS NPTEL ASSIGNMENTS ANSWERSÂ **

*BELOW YOU CAN GET YOUR NPTEL Programming Data Structures And Algorithms Using Python Assignment 5 Answer 2022***?** :

**?**:

## Week 5 Programming Assignment

All questions carry equal weightage. All Python code is assumed to be executed using Python3. You may submit as many times as you like within the deadline. Your final submission will be graded.

**Note**:

- If the question asks about a value of typeÂ string, remember to enclose your answer in single or double quotes.
- If the question asks about a value of typeÂ list, remember to enclose your answer in square brackets and use commas to separate list items.

**Q1. Write three Python functions as specified below. Paste the text for all three functions together into the submission window. Your function will be called automatically with various inputs and should return values as specified. Do not write commands to read any input or print any output.**

- You may define additional auxiliary functions as needed.
- In all cases you may assume that the value passed to the function is of the expected type, so your function does not have to check for malformed inputs.
- For each function, there are normally some public test cases and some (hidden) private test cases.
- â€śCompile and runâ€ť will evaluate your submission against the public test cases.
- â€śSubmitâ€ť will evaluate your submission against the hidden private test cases. There are 10 private test cases, with equal weightage. You will get feedback about which private test cases pass or fail, though you cannot see the actual test cases.
- Ignore warnings about â€śPresentation errorsâ€ť.

- Define a Python function remdup(l) that takes a nonempty list of integers l and removes all duplicates in l, keeping only the first occurrence of each number. For instance:
- Write a Python function sumsquare(l) that takes a nonempty list of integers and returns a list [odd,even], where odd is the sum of squares all the odd numbers in l and even is the sum of squares of all the even numbers in l.
- A two dimensional matrix can be represented in Python row-wise, as a list of lists: each inner list represents one row of the matrix. For instance, the matrix

**Code:-**

```
def remdup(l):
L=[]
for i in l:
if i not in L:
L.append(i)
return(L)
def sumsquare(l):
odd_sum=0
even_sum=0
for a in l:
if a%2!=0:
odd_sum+=a*a
else:
even_sum+=a*a
return([odd_sum,even_sum])
def transpose(m):
ans=list()
for i in range(len(m[0])):
a=[]
for j in range(len(m)):
a.append(m[j][i])
ans.append(a)
return(ans)
```

Yhaa You have done it but next? if YOU Want to your OthersNPTEL Programming Data Structures And Algorithms Using Python Assignment 5 AnswerThenÂFollow US HEREÂandÂJoin Telegram.