Cadernos de Questões

Provas Favoritas

Filtros Salvos

Foram encontradas 59 questões.
#1880998

In Python, the statement 'for loop' is used for iterating over a sequence. Considering that, choose the correct alternative that presents a proper example concerning the use of 'for loop' in Python.

  • for x = ["John", "Sophie", "Junior"]:print(x)
  • array (["John"],["Sophie"],["Junior"])for each i = 0 to array[i]print (array[i])
  • names = ["John", "Sophie", "Junior"]for x in names:print(x)
  • names ={{"John"}, {"Sophie"}, {"Junior"}}for x in names:print(names)
  • array.names("John", "Sophie", "Junior")for x print(names[x]):end for:
Fale com IAgo
IAgo - Assistente IAProva
IA
Olá! Sou o IAgo, seu assistente aqui no IAProvatec 😊
Veja como posso te ajudar:
Agora