There is a dictionary. I can not understand how you can compare the values in the dictionary and display the largest key values.
name_reiteng = {'TanyaZabrodo': 8.76, 'SanyaGypkin': 5.48, 'AnyaSymkina': 10.0, 'AntonDavidov': 4.32, 'VanyaPypkin': 6.96, 'SergeyMolodchikov': 6.76} In this case should output: AnyaSymkina: 10.0
in the cycle I tried to sort through: (As I think at the moment, a variable is created in a cycle that compares the value of v at this iteration and if it is larger then the new value is written to the variable, but I need the output to be keyed, how to implement correctly?) Question in a way it would be trivial, I've been sitting for about 30 minutes and I can not understand. Thank.
for k,v in name_reiteng.items():