Add py/Loops/task4.py

This commit is contained in:
Eduard Prigoana 2025-03-30 22:24:06 +03:00
parent be237eb38c
commit ea7fa38429

6
py/Loops/task4.py Normal file
View file

@ -0,0 +1,6 @@
# Define the list of names
names = ["Bob", "David", "Alice", "Charlie", "Olivia"]
# Loop through each name in the list
for name in names:
print(name) # Print the current name