добавил заготовку и r.txt

This commit is contained in:
2023-01-30 18:32:05 +07:00
commit 070001f4b2
4 changed files with 81 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
def get_a_useless_value(envelope):
l, b = envelope["lowerCorner"].split(" ")
r, t = envelope["upperCorner"].split(" ")
return [str(abs(float(l) - float(r)) / 2.0), str(abs(float(t) - float(b)) / 2.0)]