cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

What is the difference between a 'Type' and an 'Object' in Python ?

Kaniz
Community Manager
Community Manager
 
2 REPLIES 2

SreedharVengala
New Contributor III

Object is fundamental building block of an object-oriented language. Integers, strings, floats, arrays, lists, dictionaries are all objects. Ex. number 15 is object, string "hello" is object.

Whereas every object has Type, which defines what can be done with an object. Ex: int, string, decimal

Thankyou @SreedharVengala!

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.