The Joy of Computing using python week 10 all 3 programming assignment answer with link of code

Publié le: 01 janvier 1970
sur la chaîne: Simple Edu Talk
68
3

Hi Everyone,
Welcome to "Simple Edu Talk" Channel.
Here I will provide for you NPTEL THE JOY OF COMPUTING USING PYTHON, PROGRAMMING IN JAVA AND PROBLEM SOLVING THROUGH PROGRAMMING IN C All Assignment Quiz Answers.
So please subscribe this channel and press the bell icon to get new video Notification first and then you can watch new assignment answers video.

Follow Us:-

Telegram Channel Link..
https://t.me/simpleedutalk

Facebook:-
  / simpleedutalk  

Twitter:-
  / simpleedutalk1  

Website Link : https://nptelcodes.blogspot.com/

All codes link : https://nptelcodes.blogspot.com/2022/...

#SimpleEduTalk #NPtelJoyWeek10programming #Joyweek10programminganswers

the joy of computing using python
nptel the joy of computing using python week 10
nptel the joy of computing using python assignment answers
nptel the joy of computing using python week 10 programming answers
the joy of computing using python week 10 programming answers

Topic

Week 10: Programming Assignment 1




Given a list L write a program to make a new list to fix the indexes of numbers to in list L to its same value in the new list. Put 0 at remaining indexes. Also print the elements of the new list in the single line. (See explanation for more clarity.)

Input:
[1,5,6]

Output:
0 1 0 0 0 5 6

Explanation:

List L contains 1,5,9 so at 1,5,9, index of new list the respective values are put and rest are initialized as zero.





Week 10: Programming Assignment 2


Ram shifted to a new place recently. There are multiple schools near his locality. Given the co-ordinates of Ram P(X,Y) and schools near his locality in a nested list, find the closest school. Print multiple coordinates in respective order if there exists multiple schools closest to him. Write a function closestSchool that accepts (X ,Y , L) where X and Y are co-ordinates of Ram's house and L contains co-ordinates of different school.

Distance Formula(To calculate distance between two co-ordinates): √((X2 - X1)² + (Y2 - Y1)²)

where (x1,y1) is the co-ordinate of point 1 and (x2, y2) is the co-ordinate of point 2.

Input:
X, Y (Ram's house co-ordinates)
N (No of schools)
X1 Y1
X2 Y2
.
.
.

X6 Y6

Output:
Closest pont/points to X, Y




Week 10: Programming Assignment 3

Given a string s write a program to convert uppercase letters into lowercase and lowercase letters into uppercase. Also print the resultant string.

Note: You need to talk the input and do not print anything while taking input.

Input:
The Joy Of Computing

Output
tHE jOY oF cOMPUTING






Thank you 🌹🌹


Sur cette page du site, vous pouvez voir la vidéo en ligne The Joy of Computing using python week 10 all 3 programming assignment answer with link of code durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Simple Edu Talk 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 68 fois et il a aimé 3 téléspectateurs. Bon visionnage!