Qual é a sintaxe correta para imprimir uma mensagem em Python?, print("Olá, mundo!"), echo "Olá, mundo!", console.log("Olá, mundo!"), Como você cria uma variável em Python?, var x = 10, int x = 10, x = 10, Qual das seguintes opções é um tipo de dado em Python?, array, list, dictionarylist, Qual é o operador para adição em Python?, +, &, ||, Como você define uma função em Python?, function minha_funcao() { }, func minha_funcao[], def minha_funcao():, Qual é a saída do seguinte código? print(2 * 3), 23, 6, 2*3, Qual é a sintaxe correta para criar um comentário em Python?, # Este é um comentário, <!-- Este é um comentário -->, /* Este é um comentário */, Como você verifica se um número é maior que 10 em Python?, if numero >= 10 then, if numero > 10:, if numero > 10 { }, Como você cria um loop que repete 5 vezes em Python?, for i = 1 to 5:, repeat 5 times:, for i in range(5):, Qual é a maneira correta de acessar o primeiro elemento de uma lista em Python?, lista.first(), lista[0], lista(1), Qual é a sintaxe correta para um loop while em Python?, while condição, while (condição) { }, while condição do, Qual é a saída do seguinte código? print(10 / 3), 3.3333333333333335, 3, 3.33, Como você converte uma string para um número inteiro?, convert("123", int), string.toInteger("123"), int("123"), Qual é a sintaxe correta para uma condição if-else em Python?, if (condição) { } else { }, if condição: else:, if condição then else, Como você importa um módulo em Python?, include modulo, import modulo, require modulo, Qual comando é usado para importar módulos?, import, include, require, use, Como se define uma função?, def nome(), function nome(), fn nome(), create nome(), Qual comando interrompe um loop?, break, stop, exit, halt, Como se inicia um loop infinito?, while True:, for True:, loop True:, repeat True:, Qual comando é usado para saída de dados?, print, echo, write, output, Como se faz uma condição?, if condição:, when condição:, check condição:, test condição:, Qual comando é usado para entrada de dados?, input, read, scan, get, Como se cria um loop com contador?, for i in range(), loop i in range(), repeat i in range(), while i in range(), Qual comando é usado para retornar um valor?, return, give, send, yield, Qual operador é usado para 'e' lógico?, and, or, not, xor.
0%
Atividade em Python
Del
Del
Del
af
Valneyml
Rediger indhold
Trykke
Integrere
Mere
Tildelinger
Rangliste
Vis mere
Vis mindre
Denne rangliste er i øjeblikket privat. Klik på
Del
for at gøre det offentligt.
Denne rangliste er deaktiveret af ressourceejeren.
Denne rangliste er deaktiveret, da dine muligheder er forskellige fra ressourceejerens.
Indstillinger for gendannelse
Quiz
er en åben skabelon. Det genererer ikke resultater for en rangliste.
Log ind påkrævet
Visuel stil
Skrifttyper
Kræver abonnement
Indstillinger
AI-forstærket: Denne aktivitet indeholder indhold genereret af AI.
Lær mere.
Skift skabelon
Vis alle
Der vises flere formater, mens du afspiller aktiviteten.
)
Åbne resultater
Kopiér link
QR-kode
Slette
Gendan automatisk gemt:
?