- 1
Secret test 4, error, where mistake?
side1 = int(input()) side2 = int(input()) side3 = int(input()) if side1^2+side2^2 == side3^2: print ("Right-angled") else: print ("Not right-angled")
1 Réponse
0
In python, power is **
side1 = int(input()) side2 = int(input()) side3 = int(input()) if side1^2+side2^2 == side3^2: print ("Right-angled") else: print ("Not right-angled")