So i have a dictionary with:
dict = {1:'hi', 2:'bye', 3:'who', 4:'which', 5:'where'}
and I'm trying to randomly extract 3 words from the dictionary and append into a list.
I tried:
import random
lst = []
pick = random.choice(lst.keys())
but I'm getting the error:
TypeError: 'dict_keys' object does not support indexing