Only immut ...
Site Language: English
Terms and Conditions
Only immutable data types can be used as keys for dictionaries in Python. True or False?
Any hashable object can be used as dictionary key, Immutable data types are subset of all hashable objects, but this relation is not exhaustive. For example, you can define your own class with a __hash__ method in it and use it as a dictionary key.
Login to learn Python
Read more about
Suppose table A has 5 rows and table B has 6 rows. You perform a c...
Suppose table A has 7 rows and table B has 3 rows. You perform a c...
What is the proper syntax of the keyword LIMIT to display 5 result...
What is the proper syntax of the keyword LIMIT to display 8 result...
What is an alternate way of writing the following statement: WHERE "...
Choose correct clause: SELECT CountryCode, COUNT(*) FROM City GROUP ...
Sign Up Now
Subscribe for future quizzes