Ids of even numbers

Report a typo

Imagine you have a list in which you can find different integers. You created a code that prints an id of an even integer. Unfortunately, the lines are jumbled. Order them!

Reorder lines using drag or arrows. Adjust indentation with left buttons
                print(id(integer))
              
                if integer % 2 == 0:
              
                integers = [2, 23, 4, 5, 6, 97, 45, 31, 50]
              
                for integer in integers:
              
___

Create a free account to access the full topic