Write a Python program to get the Identity, Type, and Value of an object.
1 2 3 4 |
x = 34 print("\nIdentity: ",x) print("\nType: ",type(x)) print("\nValue: ",id(x)) |
1 2 3 4 |
x = 34 print("\nIdentity: ",x) print("\nType: ",type(x)) print("\nValue: ",id(x)) |