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

    NPTEL PROGRAMMING ASSIGNMENTS

The Joy of Computing Using Python

Week 11: Programming Assignment 1

Due Date of Submission 2022-04-14, 23:59 IST
Take 3 sides of a triangle as an input and find whether that triangle is a right angled triangle or not. Print 'YES' if a triangle is right angled triangle or 'NO' if it's not.

Input:
3
4
5

Output
YES



 

 




Week 11: Programming Assignment 2

Due Date of Submission 2022-04-14, 23:59 IST
Write a program that accepts a hash-separated sequence of words as input and prints the words in a hash-separated sequence after sorting them alphabetically in reverse order.

Input:
hey#input#bye

Output:
input#hey#bye

 

 




Week 11: Programming Assignment 3

Due Date of Submission 2022-04-14, 23:59 IST
Write a program which takes two integer a and b and prints all composite numbers between a and b.(both numbers are inclusive)

Input:
10
20

Output:
10
12
14
15
16
18
20

 

 


Post a Comment (0)
Previous Post Next Post