python dictionary key with multiple elements code example
Example 1: how to create multiple dictionaries in python
import string
for name in ["lloyd", "alice", "tyler"]:
name = {"name": string.capitalize(name), "homework": [], "quizzes": [], "tests": []}
Example 2: how to use multiple keys for single value in dictionary python
#Python Dictionary only contain one key : one value pair.
#You can surely have multiple keys having same value
#Example :-
dict = {'a':'value1', 'b':'value2', 'c':'value 3'}
#In above we have a and b key having same values