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!
Computer scienceProgramming languagesPythonWorking with dataData types and operationsObjects in Python
Objects in Python
Ids of even numbers
Report a typo
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:
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.