Below is the question I am trying to solve. I am a novice python3 learner and tried below mentioned approach. I am unable to figure out why the second for loop prints "test