From 9afcf1a97349f5f08d03eb8be417c188128bdc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Thu, 27 Oct 2022 12:53:41 -0300 Subject: [PATCH] =?UTF-8?q?Documenta=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula33.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 aula33.py diff --git a/aula33.py b/aula33.py new file mode 100644 index 0000000..9976e29 --- /dev/null +++ b/aula33.py @@ -0,0 +1,9 @@ +""" +https://docs.python.org/pt-br/3/library/stdtypes.html +Imutáveis que vimos: str, int, float, bool +""" +string = '1000' +# outra_variavel = f'{string[:3]}ABC{string[4:]}' +# print(string) +# print(outra_variavel) +print(string.zfill(10))