tuple
tuple
s = (1,2,3,4,'hello',[1,'hi'])
immutable
The tuple itself is immutable, the list in the tuple can be modified
can be sliced
scenes to be used:
1. Immutable here
2. Database link configuration information, etc.
tuple
tuple
s = (1,2,3,4,'hello',[1,'hi'])
immutable
The tuple itself is immutable, the list in the tuple can be modified
can be sliced
scenes to be used:
1. Immutable here
2. Database link configuration information, etc.