Q:

Write a Python program to create a list of empty dictionaries

0

Write a Python program to create a list of empty dictionaries

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

n = 5
l = [{} for _ in range(n)]
print(l)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now