Nice usage for lambdas is optional callable parameter to a function. You've got a dictionary full of stats while your program runs. Some stats, as new numbers are recorded, you'd like to keep the biggest one:
self.add_stats(key, value, lambda x, y: max(x, y:emoji_nose:
Or, you want to simply add the...