0% found this document useful (0 votes)
16 views

Python 12

Uploaded by

uday sonawane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Python 12

Uploaded by

uday sonawane
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Explain different data types in Python?

:- There are tw main types

1)Immutable datatypes
2) mmutable datatypes
Immutable datatypes are objects that cannot be modified or altered
after they have been created (for example, by adding new
elements, removing elements, or replacing elements). Python's
immutable data
Types of Immutable datatypes
:- numeric
String
Tuple

2) mmutable datatypes :- if the value has been assign to that data


type it can be change then it is called mmutable
Types of mmutable datatypes
:- list
Dictionary
Set

You might also like