Quiz Catalog

Catalog of quizzes

dct = {3: 4, -1: 9, 4: 1, -2: 4}

num = max(dct, key=lambda k: dct[k])

print(num)
-1
  • build-in/max
  • lambda
  • dict/literal