from random import choice
dictionary[choice(list(dictionary.keys()))] # where "dictionary" is the label of, guess what, the variable holding a dictionary you want a random item from.
import random
d = {'VENEZUELA':'CARACAS', 'CANADA':'OTTAWA'}
random.choice(list(d.values()))
country, capital = random.choice(list(d.items()))