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

    NPTEL PROGRAMMING ASSIGNMENTS

The Joy of Computing Using Python

Week 12: Programming Assignment 1

Due Date of Submission 2022-04-21, 23:59 IST
Write a program to an integer as an input and reverse that integer.

Input:
A single integer.

Output:
Reverse number of that integer.

Example:

Input:
54321

Output:
12345



 

 




Week 12: Programming Assignment 2

Due Date of Submission 2022-04-21, 23:59 IST
Given a list of strings, write a program to write sort the list of strings on the basis of last character of each string.

Input:
L = ['ram', 'shyam', 'lakshami']

Output:
['lakshami', 'ram', 'shyam']


 

 



Week 12: Programming Assignment 3

Due Date of Submission 2022-04-21, 23:59 IST
Given a student's roll number in the following format rollNumber@institute.edu.in, write a program to find the roll number and institute name of the student.

Input:
roll@institute.edu.in

Output:
roll institute


 

 


Post a Comment (0)
Previous Post Next Post