Program - print how many keys are in a dictionary python


Topic: Program - print how many keys are in a dictionary python

Solution

a = {'foo':42, 'bar':69}
print(len(a))



List all Python Programs