5 lines
134 B
Python
5 lines
134 B
Python
#create a tuple
|
|
tuplex = tuple("w3resource")
|
|
print(tuplex)
|
|
#use the len() function to known the length of tuple
|
|
print(len(tuplex)) |