name = "John"
print(hash(name))

values = [1, 2, 3]
# print(hash(values))

tup = (1, 2, 3)
print(hash(tup))


class TestClass:
    first_name: str
    values: list

    def __init__(self, attr):
        self.first_name = attr
        self.values = []

    def __hash__(self):
        return hash(self.first_name)


a = TestClass("John")
a.first_name = "Invalid"
print(hash(a))

e52788f3a037fc064a4e895cccce57dcb3e86100
<mask token>


class TestClass:
    first_name: str
    values: list
    <mask token>

    def __hash__(self):
        return hash(self.first_name)


<mask token>

<mask token>


class TestClass:
    first_name: str
    values: list

    def __init__(self, attr):
        self.first_name = attr
        self.values = []

    def __hash__(self):
        return hash(self.first_name)


<mask token>

<mask token>
print(hash(name))
<mask token>
print(hash(tup))


class TestClass:
    first_name: str
    values: list

    def __init__(self, attr):
        self.first_name = attr
        self.values = []

    def __hash__(self):
        return hash(self.first_name)


<mask token>
print(hash(a))

name = 'John'
print(hash(name))
values = [1, 2, 3]
tup = 1, 2, 3
print(hash(tup))


class TestClass:
    first_name: str
    values: list

    def __init__(self, attr):
        self.first_name = attr
        self.values = []

    def __hash__(self):
        return hash(self.first_name)


a = TestClass('John')
a.first_name = 'Invalid'
print(hash(a))

name = "John"
print(hash(name))

values = [1, 2, 3]
# print(hash(values))

tup = (1, 2, 3)
print(hash(tup))


class TestClass:
    first_name: str
    values: list

    def __init__(self, attr):
        self.first_name = attr
        self.values = []

    def __hash__(self):
        return hash(self.first_name)


a = TestClass("John")
a.first_name = "Invalid"
print(hash(a))
