Answers for "how to create multiple dictionaries in python"

-2

how to create multiple dictionaries in python

import string
for name in ["lloyd", "alice", "tyler"]:
    name = {"name": string.capitalize(name), "homework": [], "quizzes": [], "tests": []}
Posted by: Guest on October-22-2020

Code answers related to "how to create multiple dictionaries in python"

Python Answers by Framework

Browse Popular Code Answers by Language