Pergunta de entrevista da empresa IAMOPS

what's wrong with the following code? items = ['a', 'b', 'c', 'd', 'e'] for item in items: if item == 'b': items.remove(item) else: print(item)

Resposta da entrevista

Sigiloso

14 de mai. de 2025

I couldn't answer/think clearly while being attacked the whole time