Pergunta de entrevista da empresa Nokia

Python code to manipulate a list and print specific pattern out of it. lst = [1,2,3,4,5,0,8,9] output = 1 3 5

Resposta da entrevista

Sigiloso

28 de fev. de 2025

I observed the input list & came to the conclusion that odd numbers are getting printed until and unless we encounter zero.