Qual é a função utilizada em Python para capturar a entrada de dados do usuário?
Inputs Python

Quiz
•
Computers
•
12th Grade
•
Medium
CLEYTON PINHEIRO
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
output()
input()
print()
read()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python print("Olá, Mundo!") ```
Olá, Mundo!
"Olá, Mundo!"
print("Olá, Mundo!")
Nenhuma das anteriores
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o código abaixo, qual será a saída se o usuário digitar "5"? ```python numero = input("Digite um número: ") if int(numero) > 10: print("Maior que 10") else: print("Menor ou igual a 10") ```
Maior que 10
Menor ou igual a 10
Erro de execução
Nenhuma saída
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função do comando `elif` em uma estrutura condicional?
Finalizar o programa
Executar um bloco de código se a condição anterior for verdadeira
Verificar uma nova condição se a anterior for falsa
Repetir um bloco de código
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa uma condição composta correta em Python?
if x > 5 and < 10:
if x > 5 and x < 10:
if (x > 5) or (x < 10)
if x > 5, x < 10:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Considere o seguinte código. Qual será a saída se o usuário digitar "15"? ```python idade = int(input("Digite sua idade: ")) if idade < 12: print("Criança") elif idade < 18: print("Adolescente") else: print("Adulto") ```
Criança
Adolescente
Adulto
Nenhuma saída
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a maneira correta de validar se a entrada do usuário é um número inteiro em Python?
if type(input()) == int:
if isinstance(input(), int):
if input().isdigit():
if int(input()):
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
python star primera parte

Quiz
•
9th - 12th Grade
10 questions
PF Unit 10

Quiz
•
9th Grade - University
10 questions
Python

Quiz
•
1st - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
10 questions
Python lists and tuples

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University