Posts by Ronaldo CNC • 1 point
1 post
-
0
votes0
answers21
viewsQ: How to do error handling where it will only be possible to insert numbers?
import math print('Insira comprimento do Lado \"C\":') lado_c = float(input()) print('Insira comprimento do Lado \"B\":') lado_b = float(input()) hipotenusa = math.hypot(lado_c, lado_b)…
pythonasked Ronaldo CNC 1