diff --git a/rectanglearea.py b/rectanglearea.py new file mode 100644 index 0000000..f35db94 --- /dev/null +++ b/rectanglearea.py @@ -0,0 +1,2 @@ +x1, y1, x2, y2 = map(float, input().split()) +print(abs((x1 - x2) * (y1 - y2)))