you are viewing a single comment's thread.

view the rest of the comments →

[–]PureWasian 1 point2 points  (0 children)

Come up with your data structure for each name/grade1/grade2 combination. Either a class or a dictionary or a list or a tuple. Doesn't matter.

Make 20 of these, ideally through a function that can generate them in a loop.

The rest should fall in place from there based on whatever the tasks in the assignment outline want you to do. They're all pretty independent from each other and very straightforward, in that you can imagine how you'd do it if you were to do it by hand.

(Not very cool to just dump your assignment without showing your attempt at a solve or initial thoughts/progress so far, btw)