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

     NPTEL PROGRAMMING ASSIGNMENTS

The Joy of Computing Using Python

Week 11 Programming Assignment 1
Last Day of Submission: 13-Apr-2023


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



the joy of computing using python



 

  




Week 11 Programming Assignment 2
Last Day of Submission: 13-Apr-2023


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


the joy of computing using python



 

  




Week 11 Programming Assignment 3
Last Day of Submission: 13-Apr-2023


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