Doubt about pattern form

Hi everyone
I have a problem with this, I don’t know why the pattern form of nested loop is bad…
I did it well the program run and do the task but pattern form is bad
does anyone know how can I figure this problem out ?

Hey :slight_smile: thanks for reaching out! Even though your output is correct, the challenge is looking for nested loops only (without the if statements). A potential solution could be something like:

Solution
for even_numbers in range(2, 12, 2):
    for odd_numbers in range(1, 11, 2):
        val = even_numbers + odd_numbers
        print(even_numbers, '+', odd_numbers, '=', val)

Let me know if you have any questions!

Best,
Lorraine