python get random dictionary key code example
Example 1: python dict get random key
random.choice(list(my_dict))
Example 2: how to choose a random key from a dictionary in python
entry_list = list(a_dict.items())
random.choice(list(my_dict))
entry_list = list(a_dict.items())