Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (55.6k points)

Can anyone explain the immutable data types in Python?

1 Answer

0 votes
by (119k points)

Immutable data types are the objects that cannot be modified and altered (i.e. adding new elements, removing an element, replacing an element) after creating an object. The immutable data types in Python are:

  • Tuple
  • Int
  • Float
  • Complex
  • Stringfrozen set [note: immutable version of set]
  • Bytes

You can go through this Python Tutorial by Intellipaat to learn more about Datatypes in Python.

Also, watch this video on Python data types:

Related questions

0 votes
1 answer
asked Jun 17, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
0 votes
1 answer
asked Feb 7, 2021 in Python by ashely (50.2k points)
0 votes
1 answer
0 votes
1 answer
asked Sep 3, 2020 in Python by ashely (50.2k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...