Defining a Tuple : Index : Tuple PYTHON TUTORIALS


PYTHON TUTORIALS » Tuple » Index »

 

Defining a Tuple


t = ("a""b""c""z""example")
print t 
print t[0]                                           
print t[-1]                                         
print t[1:3]



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Tuple
» Index