From ea7fa38429b2848edf4957c66033203d83996a73 Mon Sep 17 00:00:00 2001 From: EduardPrigoana Date: Sun, 30 Mar 2025 22:24:06 +0300 Subject: [PATCH] Add py/Loops/task4.py --- py/Loops/task4.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 py/Loops/task4.py 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