From 5e386c39c303060300245ad6f46042684a1a6d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 28 Nov 2019 17:54:35 +0200 Subject: [PATCH] formatting --- Karto/lesson6/cnt.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Karto/lesson6/cnt.py b/Karto/lesson6/cnt.py index e77514e..8d7d056 100755 --- a/Karto/lesson6/cnt.py +++ b/Karto/lesson6/cnt.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from math import cos, tan, asin, sqrt from deg import deg @@ -19,10 +18,8 @@ H41 = 77.226 B41 = deg('38-45-7.8') D41 = H41 / tan(B41) -print(""" -D12 = %4.3f""" % D12 + """ -D23 = %4.3f""" % D23 + """ -D34 = %4.3f""" % D34 + """ -D41 = %4.3f""" % D41 + """ -Sum = %4.3f""" % (D12 + D23 + D34 + D41) + """ -""") +print("D12 = %4.3f""" % D12) +print("D23 = %4.3f""" % D23) +print("D34 = %4.3f""" % D34) +print("D41 = %4.3f""" % D41) +print("Sum = %4.3f""" % (D12 + D23 + D34 + D41))