Q. What are immutable and mutable types? List immutable and mutable types of Python.


Answer =

Immutable type :-
Those types whose value never change  is known as immutable type.

Example = integer, string, Boolean, tuples, e.c.t

Mutable type: -
Those type whose value can be change is known as mutable type.

Example = list, dictionary, set

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Ashley.....look......at.......me..♫♪♫♪♫♪

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post