Answers for "example with ID() in python"

0

example with ID() in python

class student:
    name = 'John'
    age = 18
    
std1 = student()
print(id(std1))

std2 = student()
print(id(std2))

std3 = student()
std3.name = 'Bill'
print(id(std2))
Posted by: Guest on October-25-2021

Code answers related to "example with ID() in python"

Python Answers by Framework

Browse Popular Code Answers by Language