How can I get a random pair from a dict? I’m making a game where you need to guess a capital of a country and I need questions to appear randomly.

The dict looks like {'VENEZUELA':'CARACAS'}

How can I do this?

19 Answers
19

Leave a Reply

Your email address will not be published. Required fields are marked *