From 70ce1b9601930f04837fb2c3fa4e8400ad598e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Fri, 28 Oct 2022 07:19:17 -0300 Subject: [PATCH] =?UTF-8?q?Exerc=C3=ADcio=20guiado=20-=20Calculadora=20-?= =?UTF-8?q?=20Parte=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula40.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 aula40.py diff --git a/aula40.py b/aula40.py new file mode 100644 index 0000000..1fdde5b --- /dev/null +++ b/aula40.py @@ -0,0 +1,8 @@ +""" Calculadora com while """ +while True: + print('nummmmm') + ######### + sair = input('Quer sair? [s]im: ').lower().startswith('s') + + if sair is True: + break