Intellipaat Back

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

Can anyone tell me which types are immutable in Python?

1 Answer

0 votes
by (119k points)

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

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

If you are looking for the certification course, you can check out this Python course by Intellipaat.

 Also, watch this video on Python:

Related questions

0 votes
1 answer
0 votes
1 answer
asked May 30, 2020 in Python by Sudhir_1997 (55.6k points)
0 votes
1 answer
asked Feb 7, 2021 in Python by ashely (50.2k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...