From 3ea83f00e982099f2cf3186beac61aa9d90e6858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 1 Dec 2019 19:15:39 +0200 Subject: [PATCH] less verbosity --- Karto/assignment5/measure.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Karto/assignment5/measure.py b/Karto/assignment5/measure.py index 877cb63..e419dc8 100755 --- a/Karto/assignment5/measure.py +++ b/Karto/assignment5/measure.py @@ -29,14 +29,15 @@ print("""Atraminiu liniju koordinates ir uzkirciu ilgiai(m):""") for id, bearing in bearings.items(): print("T%d: (%.3f,%.3f)" % (id, bearing[0], bearing[1])) -print(""" +(""" --------------- Kontr. atst. T23-T24 = 82.293 ?= %.3f""" % euclidean(bearings[23],bearings[24]) + """ Kontr. atst. T24-T25 = 242.105 ?= %.3f""" % euclidean(bearings[24],bearings[25]) + """ Kontr. atst. T26-T27 = 151.109 ?= %.3f""" % euclidean(bearings[26], bearings[27]) + """ Kontr. atst. T27-T28 = 214.908 ?= %.3f""" % euclidean(bearings[27], bearings[28]) + """ +""") -Objektu koordinates:""") +print("""Objektu koordinates:""") objs = { 12: np.array([564474.034+M, 6173175.426+F]), 13: np.array([564505.240+C, 6173237.929+E]),