Computer Science, asked by adiwityasharmaa14, 2 months ago

to input 3 integer are print the smallest integer(if statement)​

Attachments:

Answers

Answered by Anonymous
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