The question is
This is the code I used
[code removed]
I am getting this output
Can someone tell me what I am doing wrong?
I am not very fluent in coding, so I cannot figure it out. The same is happening when I am doing this in exercise 3 as well.