The Joy of Computing using Python | Week 2 Programming Assignment Solutions | NPTEL | Swayam

Опубликовано: 25 Май 2026
на канале: Simple Edu Talk
128
3

The Joy of Computing using Python | Week 2 Programming Assignment Solutions | NPTEL | Swayam
The Joy of Computing using Python : Week 2 Programming Assignments | NPTEL

Hi Everyone,
Welcome to "Simple Edu Talk" Channel.
Here I will provide for you NPTEL THE JOY OF COMPUTING USING PYTHON 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.

#nptel #thejoyofcomputingusingpython #python


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

All Codes Link: https://nptelcodes.blogspot.com/2022/...

TOPIC



Week 2: Programming Assignment 1
This is a sample assignment to make students familiar with the programming portal. Please make sure you have gone through the 'How to do programming assignments' by NPTEL.

Take an integer input from user and print the same number.

Input
A number

Output
A number




Week 2: Programming Assignment 2
Take two integers as an input and display the difference of second number from first number.

Input
x
y

Output
x-y



Week 2: Programming Assignment 3
You given a number as the an input. You have to display all the numbers from 0 till x.

Input
x

Output
0
1
2
.
.
x







Follow Us:-

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

Facebook:-
  / simpleedutalk  

Twitter:-
  / simpleedutalk1  



Thank you 🌹🌹

#simpleedutalk #NPtelJoyWeek2programming #Joyweek2programminganswers