Posts by Hyan Dias Tavares • 1 point
1 post
-
-2
votes1
answer46
viewsQ: Is it possible to create dictionaries using surreptitious ties?
I was wondering if I could create a dictionary using loops. But I don’t want to create a dictionary within a list [{ }]. example: from random import randint jog = dict() for n in range(1, 5):…