+ 1

I am lost here. I have tried everything i can and i don't understand why this is not working

Hi Guys. I need help solving this. with explanations. I have been on this for over 12 hours and I cant seem to figure it out. Students = {‘Mary’:[20,45,12], ‘Grace’: [40,78,56],’John’:[61,37,58]} Write a program that goes through the dictionary/array and displays the name of the student with the highest score

5th Jun 2019, 10:36 AM
Adedapo Famodun
Adedapo Famodun - avatar
5 Respostas
+ 5
Hello! Could you show the attempt you made by putting it into Code Playground and sharing the link here?
5th Jun 2019, 10:46 AM
Rincewind
Rincewind - avatar
+ 3
Please check your dictionary keys, when I try it on Code Playground it says the quotes are unrecognizable and triggers error.
5th Jun 2019, 11:29 AM
Ipang
+ 3
Ipang This could be down to Apple's strange default setting where their quotation marks appear as backticks, so when they're copied to the Code Playground they don't work. They do work if typed into the CP directly though. It used to annoy the hell out of me until I found how to stop it.
5th Jun 2019, 1:26 PM
Russ
Russ - avatar
+ 3
Russ I wasn't aware of it as I'm on Android, in that case I suppose there is no problem Thanks for the heads up 👍
5th Jun 2019, 1:35 PM
Ipang
+ 1
if you are using SoloLearn app, at the bottom of code playground, there is a bar, from there you can choose " and ' for quoting string
5th Jun 2019, 4:05 PM
Gordon
Gordon - avatar