NPTEL PROGRAMMING ASSIGNMENTS
The Joy of Computing Using Python
Week 2: Programming Assignment 1
Due Date of Submission 2022-02-10, 23:59 IST
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
Take an integer input from user and print the same number.
Input
A number
Output
A number
Week 2: Programming Assignment 2
Due Date of Submission 2022-02-10, 23:59 IST
Take two integers as an input and display the difference of second number from first number.
Input
x
y
Output
x-y
Input
x
y
Output
x-y
Week 2: Programming Assignment 3
Due Date of Submission 2022-02-10, 23:59 IST
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
Input
x
Output
0
1
2
.
.
x