🌐
GeeksforGeeks
geeksforgeeks.org › python › primitive-data-types-vs-non-primitive-data-types-in-python
Primitive Data Types vs Non Primitive Data Types in Python - GeeksforGeeks
October 28, 2025 - ... x = 10 y = 10.5 is_active = True name = "Alice" print(type(x)) print(type(y)) print(type(is_active)) print(type(name)) ... Non-primitive data types can store multiple values or complex structures.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-data-types
Python Data Types - GeeksforGeeks
Python Boolean Data type is one of the two built-in values, True or False. Boolean objects that are equal to True are truthy (true) and those equal to False are falsy (false). However non-Boolean objects can be evaluated in a Boolean context as well and determined to be true or false.
Published   October 15, 2025
🌐
GeeksforGeeks
geeksforgeeks.org › user-defined-data-structures-in-python
User Defined Data Structures in Python - GeeksforGeeks
November 26, 2022 - Python has four non-primitive inbuilt data structures namely Lists, Dictionary, Tuple and Set. These almost cover 80% of the our real world data structures. This article will cover the above mentioned topics.
🌐
Stack Overflow
stackoverflow.com › questions › 70954918 › what-are-primative-and-non-primative-data-types-in-python
What are Primative and Non-Primative data types in Python? - Stack Overflow
Google said: primitive data types include Integers, Float, Strings and Boolean, the non-primitive data types are Array, List, Tuples, Dictionary, Sets and Files · But Google also said that Python don't have such thing called Primative or Non ...
🌐
TheLinuxCode
thelinuxcode.com › home › primitive vs non-primitive data types in python: a practical mental model
Primitive vs Non-Primitive Data Types in Python: A Practical Mental Model – TheLinuxCode
January 10, 2026 - Python treats everything as an object, and its built-in type system does not stamp a label that says “primitive” or “non-primitive.” Yet the split is useful because it maps to how data behaves under mutation and sharing. Primitive types are single values that never change once created.
🌐
Geekedu
geekedu.org › blogs › data-structures-in-python-everything-you-need-to-know
Data Structures in Python: Everything you need to know! | Coding for Kids Free
Non-primitive data types include List, Array, Tuples, Dictionary, Sets, and Files, while primitive data types include Integers, Float, Strings, and Boolean. In Python, there is another type of data structure called user-defined which is basically ...
🌐
DataCamp
datacamp.com › tutorial › data-structures-python
Python Data Structures with Primitive & Non-Primitive Examples | DataCamp
April 6, 2023 - In this Python tutorial, you'll tackle implicit and explicit data type conversion of primitive and non-primitive data structures with the help of code examples!
🌐
Reddit
reddit.com › r/learnpython › primitive vs non primitive values in python
r/learnpython on Reddit: Primitive VS Non Primitive values in python
September 11, 2017 -

I learned that int, string, float, boolean are primitive and array, list, tuple, dict, set, file are non primitive..

Now i'm particularity interested in the actual differences between the two...

I know from learning java that in primitive type, it copy the actual value and therefore changing one value won't change a different variable even if they were used the same root var..

Non primitive however, only use references and therefore changing one value will change in all the vars that store the same reference...

What else am i missing regarding primitive vs non primitive data types?

Thanks

Find elsewhere
🌐
Educative
educative.io › answers › data-types-in-python
Data Types in Python
In the same way, when coding, we encounter different types of data. Python uses labels, known as data types, to identify and handle the kind of data it’s dealing with. Sometimes, we specify the data type by using specific syntax when storing a value.
🌐
Coding Dojo
codingdojo.com › blog › top-python-data-structures
Top 3 Python Data Structures Explained - Coding Dojo
May 30, 2022 - The four built-in non-primitive data structures are lists, tuples, dictionaries, and sets. For a deeper dive into the core semantics and syntax of Python, check out the official Python Language Reference.
🌐
Medium
muditmathur121.medium.com › day-14-python-data-structure-7b109a7a9132
Day 14 Python Data Structure. 📑 TABLE OF CONTENTS 📑 1. Data Type 📝… | by Mudit Mathur | Medium
August 1, 2023 - In Python, primitive data structures are basic data types that are built into the language itself. These include integers, floats, boolean, and characters. They are simple and immutable, meaning their values cannot be changed once assigned. Non-primitive data structures, on the other hand, are more complex and can hold multiple values or objects.
🌐
Topcoder
topcoder.com › thrive › articles › data-structures-and-algorithms-in-python
Data Structures and Algorithms in Python
Since integers are a type of data structure in Python, it returns true. These exist so that data structures can become more organized as they grow larger. As a program becomes more complex, there becomes a pressing need to group various kinds of primitive data types so that code does not become too clumsy. It is for this reason that the non-primitive data types were designed.
🌐
Javatpoint
javatpoint.com › primitive-vs-non-primitive-data-structure
Primitive vs non-primitive data structure | What's the difference? - javatpoint
Primitive vs non-primitive data structure with Introduction, Asymptotic Analysis, Array, Pointer, Structure, Singly Linked List, Doubly Linked List, Graph, Tree, B Tree, B+ Tree, Avl Tree etc.
🌐
W3Schools
w3schools.com › python › python_datatypes.asp
Python Data Types
Python Variables Variable Names Assign Multiple Values Output Variables Global Variables Variable Exercises Code Challenge Python Data Types
🌐
Medium
medium.com › @priyanshishukla250604 › understanding-data-types-in-python-0c8e8ee96fde
Understanding Data Types in Python | by Priyanshishukla | Medium
November 16, 2024 - # Non-Primitive fruits = [“apple”, “banana”, “cherry”] #list person = {“name”: “John”, “age”: 30} #dictionary colors = {“red”, “green”, “blue”} #set numbers = (1, 2, 3) #tuple ... In conclusion, understanding Python’s data types is crucial for effective programming.
🌐
Ccilearning
store.ccilearning.com › wp-content › uploads › 2023 › 04 › 8510-Python-Level-1-Unit-Lesson-Sample.pdf pdf
8510-1 v1.00 © CCI Learning Solutions Inc. 35 Information Technology Series
Lesson 1: Objects and Data Structures · Unit 2: Python Non-Primitive Data Structures · 38 · 8510-1 v1.00 @ CCI Learning Solutions Inc. Combine Different Data Types · Each Python data type has properties. These properties are different for each data type. You can · combine data types that are of the same type.
🌐
NxtWave
ccbp.in › blog › articles › difference-between-primitive-and-non-primitive-data-structure
Difference Between Primitive and Non-Primitive Data Structure
Rich Built-in Collections: Python includes built-in data collecting tools such as lists, dictionaries, sets, and tuples, which are all non-primitive and quite versatile. Primitive Types: JavaScript includes primitive types such as number, string, boolean, null, undefined, bigint, and symbol, which are immutable and stored by value.
🌐
Almentor
almentor.net › en › courses › Non-Primitive-Data-Types-In-Python
Non-Primitive Data Types in Python | almentor
Determine how to control the data that has been stored by using functions of Non-Primitive Data Types and deal with the stored data while writing the program.