From 35dca53369f1cb2d33d55becd5e960aa0251077c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Ot=C3=A1vio?= Date: Tue, 25 Oct 2022 18:02:25 -0300 Subject: [PATCH] =?UTF-8?q?Operadores=20relacionais=20(de=20compara=C3=A7?= =?UTF-8?q?=C3=A3o)=20em=20Python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aula19.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 aula19.py diff --git a/aula19.py b/aula19.py new file mode 100644 index 0000000..989a8a4 --- /dev/null +++ b/aula19.py @@ -0,0 +1,17 @@ +""" +Operadores de comparação (relacionais) +OP Significado Exemplo (True) +> maior 2 > 1 +>= maior ou igual 2 >= 2 +< menor 1 < 2 +<= menor ou igual 2 <= 2 +== igual 'a' == 'a' +!= diferente 'a' != 'b' +""" +maior = 2 > 1 +maior_ou_igual = 2 >= 2 +menor = 1 < 2 +menor_ou_igual = 2 <= 2 +igual = 'a' == 'a' +diferente = 'a' != 'b' +print('Olha meu print aqui')