to input 3 integer are print the smallest integer(if statement)
Attachments:
Answers
Answered by
0
Answer:
n1 = int(input("No 1 : "))
n2 = int(input("No 2 : "))
n3 = int(input("No 3 : "))
print( n1*n1 + n2*n2 == n3*n3 or n2*n2 + n3*n3 == n1*n1 or n3*n3 + n1*n1 == n2*n2 )
Similar questions
Social Sciences,
1 month ago
History,
1 month ago
Math,
2 months ago
Math,
8 months ago
Math,
8 months ago