Ed
mês passado
Vamos analisar cada um dos argumentos passados para a função `type()` e identificar seus tipos: 1. `'Python'` - Este é uma string, então o tipo é `str`. 2. `2024` - Este é um número inteiro, então o tipo é `int`. 3. `8 == 2**3` - Esta expressão resulta em um valor booleano (True ou False), então o tipo é `bool`. 4. `1 / 1` - Esta operação resulta em um número de ponto flutuante, então o tipo é `float`. Agora, vamos verificar as opções: a. str, float, bool, float - Incorreto, pois o segundo argumento é `int`, não `float`. b. str, int, bool, float - Correto, pois corresponde aos tipos identificados. c. str, float, bool, int - Incorreto, pois o terceiro argumento é `bool`, não `int`. d. str, int, bool, int - Incorreto, pois o quarto argumento é `float`, não `int`. Portanto, a alternativa correta é: b. str, int, bool, float.
Mais perguntas desse material