From c419716498b9afe4dd7055199ddc461968e4faaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Mon, 24 Oct 2022 23:19:46 -0300 Subject: [PATCH] =?UTF-8?q?Exerc=C3=ADcio=20com=20vari=C3=A1veis=20e=20tip?= =?UTF-8?q?os=20de=20dados=20(solucionado)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula8.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 aula8.py diff --git a/aula8.py b/aula8.py new file mode 100644 index 0000000..c71f5da --- /dev/null +++ b/aula8.py @@ -0,0 +1,13 @@ +nome = 'Luiz Otávio' +sobrenome = 'Miranda' +idade = 18 +ano_nascimento = 2022 - idade +maior_de_idade = idade >= 18 +altura_metros = 1.80 + +print('Nome:', nome) +print('Sobrenome:', sobrenome) +print('Idade:', idade) +print('Ano de nascimento:', ano_nascimento) +print('É maior de idade?', maior_de_idade) +print('Altura em metros:', altura_metros)