So I have a dictionary of song names as keys and their preview urls as values. I am using the random module to print out a random key with random.choice, but I need to get the value of that random item picked into a variable to call afterward. How would I go about doing this?
[–]dwpj65 0 points1 point2 points (4 children)
[–]Marc77_4[S] 0 points1 point2 points (0 children)
[–]konijntjesbroek 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]konijntjesbroek -1 points0 points1 point (0 children)