TEMA

Runtime Error?! Why?

kbrigido preguntado 3 years ago

I use this code to resolve the problem, but it has RunTime error, but why? i'm doing just a casting and inPyCharm is alright

from math import sqrt x1 = float(input()) y1 = float(input()) x2 = float(input()) y2 = float(input())

print(f'{round(sqrt((x2 - x1) 2 + (y2 - y1) 2), 4)}')

Recuerda no enviar soluciones. Tu mensaje puede ser revisado por nuestros moderadores.

  • LeonardoGregorio respondido 2 years ago

    I believe there has to be one more line of data entry.