What is the syntax to return the length of a dictionary?

len(<dictionary name>)
#examples
passwords = {'John':1123421,'Shirley':'socks', 'Galen':4234.123}
print(len(passwords))

#output
3
Advertisements