Pythagorean Triplets in the Range
Problem Description
Python Program to Determine all Pythagorean Triplets in the Range
Input:
Upper limit
Output:
Print the Pythagorean Triplets in the Range
Test Case 1
Input (stdin)
20
Expected Output
3 4 5
8 6 10
5 12 13
15 8 17
12 16 20
Test Case 2
Input (stdin)
35
Expected Output
3 4 5
8 6 10
5 12 13
15 8 17
12 16 20
7 24 25
24 10 26
21 20 29
16 30 34
in python programming language
Answers
Answered by
2
Hey mate H2 = P2 + B2 it's Pythagorean theorem mate
plz plz follow me if you don't mind
plz plz follow me if you don't mind
rhjayawanth2000:
hey girl i need full answer not like a hint ok dude
Answered by
4
this is the formula of Pythagorean theorem
Similar questions