python how to use random key from dictionary code example Example: python dict get random key random.choice(list(my_dict))