Good Morning,
I did not understand the python indentation in the following code:
for pessoa in lista_nomes:
if pessoa['nome'] == nome:
return pessoa
else:
return {'nome': 'Não selecionado', 'idade': 0}
Why is else closing the indentation at the 'for' instead of the the 'if' level?