Rectangle Area

This commit is contained in:
2023-07-18 14:03:57 +00:00
parent 4cd0be10d4
commit 7bbb5bcb4f

2
rectanglearea.py Normal file
View File

@@ -0,0 +1,2 @@
x1, y1, x2, y2 = map(float, input().split())
print(abs((x1 - x2) * (y1 - y2)))