"List Comprehensions" Exercise
Prerequisites
Learning Objectives
Setup
# total_comprehension.py
my_numbers = [1, 2, 3, 4, 5, 6, 7]
print("--------------")
print("ORIGINAL LIST:", my_numbers)
print("--------------")
print("TOTAL COMPREHENSION...")
# TODO: write python code hereInstructions
Last updated