Hash check

Report a typo

Write a program that checks if a variable some_object is hashable. If it is, you need to print "Hashable", otherwise — "Not hashable".

The Hashable class from the collections.abc module has already been imported, you don't need to do that.

Write a program in Python 3
# write your code here
___

Create a free account to access the full topic