May-26-2022, 11:43 PM
(This post was last modified: May-26-2022, 11:43 PM by deanhystad.)
You might want to "unpack" the student like this:
last_name, first_name, *grades = mystudent
How can I add certain elements in this 2d data structure and calculate a mean
|
May-26-2022, 11:43 PM
(This post was last modified: May-26-2022, 11:43 PM by deanhystad.)
You might want to "unpack" the student like this:
last_name, first_name, *grades = mystudent |
|
Messages In This Thread |
How can I add certain elements in this 2d data structure and calculate a mean - by TheOddCircle - May-26-2022, 08:09 PM
RE: How can I add certain elements in this 2d data structure and calculate a mean - by Gribouillis - May-26-2022, 08:19 PM
RE: How can I add certain elements in this 2d data structure and calculate a mean - by deanhystad - May-26-2022, 11:43 PM
RE: How can I add certain elements in this 2d data structure and calculate a mean - by paul18fr - May-27-2022, 09:09 AM
|