NPTEL The Joy Of Computing Using Python Week 11 Programming Assignment | NPTEL Swayam Assignment Answers
Join Us On Telegram
Join Us On Youtube
👇👇👇👇👇👇
Nptel Week 11 Programming Assignment Answers:
Q.1: 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
Q.2: 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
Q.3: 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
If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.
0 Comments