To use random.choice() to get random key and random word from assigned list to key

后端 未结 0 1417
情书的邮戳
情书的邮戳 2021-01-02 05:58

I\'ve a dictionary with assigned lists to the keys. What I\'m struggling with is to get random key: animals or fruits and then random item from list that is assigned to the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题