A tuple is an immutable list : Variable Immutable : Language Basics PYTHON examples


PYTHON examples » Language Basics » Variable Immutable »

 

A tuple is an immutable list


A tuple is an immutable list


t = ("a""b""mpilgrim""z""example")        

print t 

print t[0]                                        

print t[-1]                                       

print t[1:3]                                      
           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo Language Basics
» Variable Immutable