Python - Count the Number of Keys in a Python Dictionary code example
Example: Python - Count the Number of Keys in a Python Dictionary
pythonCopydict1 = {'a':1,'b':2,'c':3}
print(len(dict1.keys()))
pythonCopydict1 = {'a':1,'b':2,'c':3}
print(len(dict1.keys()))