Missing answer for Python Intermediate, Object-Oriented Python - Step 2/13

For Python Intermediate, Object-Oriented Python - Step 2/13: the answer is missing the print(odd_trinum) part.

EXPECTED:
tri_num_sequence = [1, 3, 6, 10, 15, 10, 6, 3, 1]
odd_numbers = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19]
trinum_5 = set(tri_num_sequence)
odd_20 = set(odd_numbers)
odd_trinum = set(trinum_5.intersection(odd_20))

print(odd_trinum)

What DQ.io answer shows:
tri_num_sequence = [1, 3, 6, 10, 15, 10, 6, 3, 1]
odd_numbers = [1, 3, 5, 7, 9, 11, 13, 15, 17, 19]
trinum_5 = set(tri_num_sequence)
odd_20 = set(odd_numbers)
odd_trinum = set(trinum_5.intersection(odd_20))

Would someone add that in, thank you.

Hi @donniegoode:

In future, please attach the mission link as per these guidelines. In addition, please fill out this ticket to let the content team know about it. Thanks!

1 Like