Dictionaries can you pick randomly

Does anyone know how to pick random items from a dictionary?

Use the maths random blocks to make your selection

Dictionaries and lists are interchangeable, so you can use the pick a random item on a dictionary to get a random key-value pair. You can then decompose the pair into the key and value by treating it as a two-element list.

3 Likes