How do you evaluate an expression in Python?, Type 'evaluate' first, Break it into pieces, Type after >>> prompt, Use a calculator, Which expression multiplies two numbers?, 4 + 7, 4 x 7, 4 # 7, 4 * 7, Evaluate: 3 * 4 * 2 + 8, 24, 32, 40, 120, Which statement about variables is correct?, Value never changes, Must be lowercase, Must start at zero, Can hold Booleans, What is the purpose of a variable?, Change future programs, Combine numbers, Remember values for later, Indent source code, Which statement initializes a variable?, Initialise(), x = 3, start(), finish(), If length = 200 and then length = 400 is run:, Error message, Error (can't change), Value becomes 400, Value becomes 600, In Python, the input() function:, Uses a USB key, Makes input faster, Returns a string, Must be called first, In Python, the print() function:, Changes data type, Displays a result, Is the last command, Must be called first, A data type with only two values is:, Integer, Float, String, Boolean.
0%
Python Basics Quiz
Compartilhar
Compartilhar
Compartilhar
de
Durschoolcom
Editar conteúdo
Imprimir
Incorporar
Mais
Atribuições
Ranking
Mostrar mais
Mostrar menos
Atualmente, este ranking é particular. Clique em
Compartilhar
para torná-lo público.
Este ranking foi desativado pelo proprietário do recurso.
Este ranking está desativado, pois suas opções e as do proprietário do recurso são diferentes.
Reverter opções
Questionário
é um modelo aberto. Ele não gera pontuações para um ranking.
Login necessário
Estilo visual
Fontes
Assinatura necessária
Opções
IA Aprimorada: Esta atividade contém conteúdo gerado por IA.
Saiba Mais.
Alterar modelo
Mostrar todos
Mais formatos serão exibidos à medida que você executar a atividade.
Resultados em aberto
Copiar link
Código QR
Excluir
Restaurar arquivo salvo automaticamente:
?