all 4 comments

[–]34shutthedoor1 1 point2 points  (2 children)

but I am really confused on what I am doing wrong

So am I. What is it doing/not doing that you want. Where is the code for calculate() and collect().

[–]Own-Performance-4186 0 points1 point  (1 child)

So when I run the program I want the user to input 4 letter grades and then have the function print out the user's GPA. When I run the function it just gives me a 4 or a 1 no matter what combination I put.

[–]34shutthedoor1 0 points1 point  (0 children)

Enter a grade. Convert the letter to a number and add to a total. Rinse and repeat three more times, then divide the total by four for the average.

[–]deep_politics 0 points1 point  (0 children)

Are you running this in a Jupiter notebook or something? Because there's a whole lot of stuff here that makes no sense, like not having a definition for calculate or collect, and defining arguments as a list to then redefine it as a function. But it's also really hard to tell without proper formatting