cateto1= 3
cateto2= 4
ipotenusa= 5
if cateto1**2+cateto2**2==ipotenusa**2:
    print ('il triangolo è rettangolo')
else:
    print('il triangolo non è rettangolo')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: