From 37f7d63352a5e4cd6e22ad3826f40ae23246bd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Tue, 25 Oct 2022 10:19:18 -0300 Subject: [PATCH] =?UTF-8?q?Solu=C3=A7=C3=A3o=20exerc=C3=ADcio=20de=20progr?= =?UTF-8?q?ama=C3=A7=C3=A3o=20-=20C=C3=A1lculo=20do=20IMC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula12.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 aula12.py diff --git a/aula12.py b/aula12.py new file mode 100644 index 0000000..e943d79 --- /dev/null +++ b/aula12.py @@ -0,0 +1,12 @@ +nome = 'Luiz Otávio' +altura = 1.80 +peso = 95 +imc = peso / altura ** 2 + +print(nome, 'tem', altura, 'de altura,',) +print('pesa', peso, 'quilos e seu imc é',) +print(imc) + +# Luiz Otávio tem 1.80 de altura, +# pesa 95 quilos e seu IMC é +# 29.320987654320987