Why do I get (many times in different exercises) a ‘wrong answer’ while actually my output is correct.

If I put in this answer:

```
#Write your function here
result = []
def exponents(bases, powers):
for b in bases:
for p in powers:
result.append(b ** p)
return result
#Uncomment the line below when your function is done
print(exponents([2, 3, 4], [1, 2, 3]))
```

The output of running the code is:

```
[2, 4, 8, 3, 9, 27, 4, 16, 64]
```

Exactly as requested. However, the program returns:

`exponents([2, 3, 4], [1, 2, 3])`

should have returned `[2, 4, 8, 3, 9, 27, 4, 16, 64]`

, and it returned [2, 4, 8, 3, 9, 27, 4, 16, 64, 2, 4, 8, 3, 9, 27, 4, 16, 64, 2, 4, 8, 3, 9, 27, 4, 16, 64]

This happens quite often and is quite frustrating. The only way to continue to the next exercise is to view solution, which then often shows the exact same answer. (I didn’t yet check this one as my output is correct so this is at least one road that leads to Rome