updade from Atlas repo

This commit is contained in:
Luciano Ramalho
2021-05-21 18:56:12 -03:00
parent c518bf851e
commit 8a330d822b
120 changed files with 2190 additions and 1184 deletions

View File

@@ -13,7 +13,6 @@ from dataclasses import dataclass
@dataclass(frozen=True)
class Coordinate:
lat: float
long: float
@@ -21,4 +20,4 @@ class Coordinate:
ns = 'N' if self.lat >= 0 else 'S'
we = 'E' if self.long >= 0 else 'W'
return f'{abs(self.lat):.1f}°{ns}, {abs(self.long):.1f}°{we}'
# end::COORDINATE[]
# end::COORDINATE[]