Download the Guru IA app

Android and iOS

A

Aluno

Engenharia de Software05/23/2024

1 def checa_valor(list): 2 elem list [0] 3 for a in list: ...

1 def checa_valor(list):

2 elem list [0]

3 for a in list:

4

5

6

7

if a elem:

elem a

return elem

8 print(checa_valor ([4, 10, 18, -7]))

Anexo - Consulte a imagem em melhor resolução no final do cadernos de questões.

Assinale a alternativa correta que apresenta o que será impresso para o usuário:

A

18,

B

checa_valor([4, 10, 18, -7])

C O-7

D 10

E 4

Send your questions through the App
Google Play
App Store
Equipe Meu Guru

Do you prefer an expert tutor to solve your activity?

  • Receive your completed work by the deadline
  • Chat with the tutor.
  • 7-day error guarantee