Skip to main content
10 events
when toggle format what by license comment
Dec 28, 2021 at 16:52 comment added Richard Neumann You might want to deserialize the dicts into dataclasses. Handling objects of a fixed structure ist oftentimes easier than handling dicts with possibly arbitrary keys and values.
Dec 17, 2021 at 6:00 comment added Singularity @pacmaninbw I'll do that from the next time, I am fairly new to stack in general so thanks for the help.
Dec 17, 2021 at 5:59 vote accept Singularity
Dec 16, 2021 at 17:10 answer added FMc timeline score: 3
Dec 16, 2021 at 13:01 comment added pacmaninbw If this is homework please add the homework tab. That would clarify the restrictions on the code.
Dec 16, 2021 at 11:12 comment added sg7610 If you can't change the dictionary that is provided to you. Just make a new one out of it.
Dec 16, 2021 at 11:05 comment added Singularity I can't change the dictionary as it is provided in the question
Dec 16, 2021 at 6:03 comment added sg7610 Why not make a dictionary where the keys are names and values are score dictionaries? Then you can just use name = input(), and use that to access the values in the dictionary.
S Dec 16, 2021 at 4:03 review First questions
Dec 16, 2021 at 13:02
S Dec 16, 2021 at 4:03 history asked Singularity CC BY-SA 4.0