Tuple is not changable : Tuple Immutable : Tuple PYTHON examples


PYTHON examples » Tuple » Tuple Immutable »

 

Tuple is not changable




T = (123)
T[24             # error!
T = T[:2(4,)     # okay: (124)
print T
           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Tuple
» Tuple Immutable


Warning: Unknown: open(/var/lib/php/session/sess_n0gjid0ehinlvuij5h6v9bcne4, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0