The Joy of Computing using Python Week 2: Programming Assignment - Jan-Jun 2022

 NPTEL PROGRAMMING ASSIGNMENTS

The Joy of Computing Using Python

The Joy of Computing using Python Week 1: Programming Assignment - Jan-Jun 2022



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

 

 




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


 

 



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


 

 


Post a Comment (0)
Previous Post Next Post