6) Lists
Store many values in a list and print them one by one.
All Topics
Run Program
Python Code
numbers = [10, 20, 30, 40] for number in numbers: print("Value:", number)
Program Input (optional)
Output