Title: Python Data Types - GeeksforGeeks
Open Graph Title: Python Data Types - GeeksforGeeks
Description: Your All-in-One Learning Portal. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
Open Graph Description: Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.
Keywords:
Opengraph URL: https://www.geeksforgeeks.org/python/python-data-types/
Domain: www.geeksforgeeks.org
{"@context":"https://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","id":"https://www.geeksforgeeks.org/python/python-data-types/"},"headline":"Python Data Types","datePublished":"2019-10-29 04:33:12","dateModified":"2025-10-15 08:08:19","image":{"@type":"ImageObject","url":"https://media.geeksforgeeks.org/wp-content/uploads/20191023173512/Python-data-structure.jpg","width":"822","height":"505"},"author":{"@type":"Organization","name":"GeeksforGeeks","url":"https://www.geeksforgeeks.org/","logo":{"@type":"ImageObject","url":"https://media.geeksforgeeks.org/wp-content/cdn-uploads/logo-new-2.svg","width":"301","height":"40"}},"publisher":{"@type":"Organization","name":"GeeksforGeeks","url":"https://www.geeksforgeeks.org/","logo":{"@type":"ImageObject","url":"https://media.geeksforgeeks.org/wp-content/cdn-uploads/logo-new-2.svg","width":"301","height":"40"}},"description":"Data types in Python are a way to classify data items. They represent the kind of value, which determines what operations can be performed on that data. Since everything is an object in Python programming, Python data types are classes and variables are instances (objects) of these classes. The following","about":[{"@type":"Thing","name":"Python"},{"@type":"Thing","name":"PythonDatatype"}]}
{"@context":"https://schema.org","@type":"WebSite","name":"GeeksforGeeks","url":"https://www.geeksforgeeks.org/","potentialAction":{"@type":"SearchAction","target":"https://www.geeksforgeeks.org/search/{search_term_string}/","query-input":"required name=search_term_string"}}
{"@context":"https://schema.org","@type":"Organization","name":"GeeksforGeeks","url":"https://www.geeksforgeeks.org/","logo":"https://media.geeksforgeeks.org/wp-content/cdn-uploads/20200817185016/gfg_complete_logo_2x-min.png","description":"Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.","founder":[{"@type":"Person","name":"Sandeep Jain","url":"https://in.linkedin.com/in/sandeep-jain-b3940815"}],"sameAs":["https://www.facebook.com/geeksforgeeks.org/","https://twitter.com/geeksforgeeks","https://www.linkedin.com/company/1299009","https://www.youtube.com/geeksforgeeksvideos/"]}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Python","item":{"@type":"Thing","@id":"https://www.geeksforgeeks.org/category/python/"}},{"@type":"ListItem","position":2,"name":"python-data-types","item":{"@type":"Thing","@id":"https://www.geeksforgeeks.org/python/python-data-types/"}}]}
{"@context":"https://schema.org","@type":"VideoObject","name":"Type() in Python","description":"The type() function in Python is used to determine the type of an object. It can take one or three arguments when a single argument is passed, it returns the type of the object with three arguments, it returns a new type object. This function is useful for debugging and understanding the type of a variable or object. It can also create new types by passing bases and a dictionary as arguments. nbspFor more information, read the full GeeksforGeeks article here.","thumbnailUrl":["https://media.geeksforgeeks.org/courses/TypeinPython/TypeinPython20241129182527.jpg","https://media.geeksforgeeks.org/courses/TypeinPython/TypeinPython20241129182527-seo.png","https://media.geeksforgeeks.org/courses/TypeinPython/TypeinPython20241129182527-small.png"],"uploadDate":"2020-08-10T19:00:54Z","duration":"PT0H8M15S","contentUrl":"https://www.geeksforgeeks.org/videos/type-in-python-v255j6/"}
| theme-color | #308D46 |
| image | https://media.geeksforgeeks.org/wp-content/cdn-uploads/gfg_200x200-min.png |
| og:image:type | image/png |
| og:image:width | 200 |
| og:image:height | 200 |
| facebook-domain-verification | xo7t4ve2wn3ywfkjdvwbrk01pvdond |
| og:site_name | GeeksforGeeks |
| og:image | https://media.geeksforgeeks.org/wp-content/uploads/20241210131752166623/Python-Data-Types.webp |
| article:section | Python |
| article:tag | Python-datatype |
| og:type | article |
| og:locale | en_US |
| article:published_time | 2019-10-29 16:33:12+00:00 |
| article:modified_time | 2025-10-15 20:08:19+00:00 |
| og:updated_time | 2025-10-15 20:08:19+00:00 |
| og:image:secure_url | https://media.geeksforgeeks.org/wp-content/uploads/20241210131752166623/Python-Data-Types.webp |
| msapplication-TileImage | https://www.geeksforgeeks.org/wp-content/uploads/gfg_200X200.png |
| next-head-count | 43 |
Links:
Viewport: width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0
Robots: index, follow, max-image-preview:large, max-snippet:-1