Generation

generate functionMon, 23 Jan 2023

The mayor has announced a contest in the city Wesdly, the person with the highest scoe will wt the mega prire

WESDLY = {'joe': 10, 'mike': 15, 'bob': 20, 'suzy': 25} def find_winner(dictionary): max_value = 0 for key, value in dictionary.items(): if value > max_value: max_value = value return max_value find_winner(WESDLY)

Questions about programming?Chat with your personal AI assistant