Files
kattis/rectanglearea.py
2023-07-18 14:03:57 +00:00

3 lines
81 B
Python

x1, y1, x2, y2 = map(float, input().split())
print(abs((x1 - x2) * (y1 - y2)))