Complete a tabela a seguir, respondendo True ou False. Considere a = 4, b = 10, c = 5.0, d = 1 e f = 5.
Expressão Resultado Expressão Resultado
a == c ○ True ○ False b > a ○ True ○ False
a < b ○ True ○ False c >= f ○ True ○ False
d > b ○ True ○ False f >= c ○ True ○ False
c != f ○ True ○ False c <= c ○ True ○ False
a == b ○ True ○ False c <= f ○ True ○ False
c < d ○ True ○ False
Resposta:
##############################################################################
# Parte do livro Introdução à Programação com Python
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Quarta Edição - Março/2024 - ISBN 978-85-7522-886-9
#
# Site: https://python.nilo.pro.br/
#
# Arquivo: capitulo 03/exercicio-03-02.py
##############################################################################
# False (a==c)
# True (a<b)
# False (d>b)
# False (c!=f)
# False (a==b)
# False (c<d)
# True (b>a)
# True (c>=f)
# True (f>=c)
# True (c<=c)
# True (c<=f)