From 0aa7e7c8002fdae169d7369ece4e166c28203a6e Mon Sep 17 00:00:00 2001 From: Luis Rodrigues Date: Thu, 12 Sep 2024 11:00:56 +0100 Subject: [PATCH] =?UTF-8?q?adoptar=20padr=C3=A3o=20de=20c=C3=B3digo=20pyth?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/mapa.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/mapa.py b/modules/mapa.py index 0cc1d7b..d632c72 100644 --- a/modules/mapa.py +++ b/modules/mapa.py @@ -15,7 +15,8 @@ class Mapa: self.id_mapa = id(self) def __str__(self): - return f'Dados Mapa ({self.id_mapa})\n\tdimensao: {self.dimensao[0]} x {self.dimensao[1]}' + return f'Dados Mapa ({self.id_mapa})\n \ + \tdimensao: {self.dimensao[0]} x {self.dimensao[1]}' def inicializar(self, aleatorio: bool = False) -> list: # inicializar mundo