From 16e8c36f624563c1fa1c0269885a7b09e76b09fd Mon Sep 17 00:00:00 2001 From: Nicole Washington Date: Thu, 28 Oct 2021 10:18:54 -0700 Subject: [PATCH] added a print students function --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 2c117eb..7151738 100644 --- a/main.py +++ b/main.py @@ -4,4 +4,8 @@ def my_function(fname): my_function("Trenisha") +def print_student_names (student_list): + for name in student_list : + print(name) +print_student_names(["Adrianna","Stacy","Amber","Mary"])