So I've tried looking at similar questions and in my book but not quite connecting the dots. I have the calculations down, but I'm not understanding how/where to put a loop function to re-enter a new student with their grades (there are 12 students btw).

I tried adding a while loop in different locations marked with: <!!!>. But I always got a different error.

```
def loop():
    while newStudent =="y":
        newStudent=input("Another student? (Enter y for yes): ")

```

```
name = input("Please enter name of student: ")

!!!

def scoreInput():
\
\
def calc_average(score1, score2, score3, score4, score5, score6, score7, score8):
\
\
def determine_grade(grade):
\
\
def results (score1, score2, score3, score4, score5, score6, score7, score8):
\
\

!!!

def main():
    score1, score2, score3, score4, score5, score6, score7, score8 = scoreInput()
    results (score1, score2, score3, score4, score5, score6, score7, score8)
    !!!

main()

```

Any advice on where I'm going wrong with this would be appreciated or maybe I'm just not understanding. Also a small explanation on this would be helpful to understand it. :D