diff --git a/py/Loops/task4.py b/py/Loops/task4.py new file mode 100644 index 0000000..b35a177 --- /dev/null +++ b/py/Loops/task4.py @@ -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 \ No newline at end of file