Answer to Question #3205 in Python for mukundareddy

Question #3205
Find the length of a tuple without using in-built function “len (tuple)”.
1
Expert's answer
2011-06-21T06:42:08-0400
tuple, length = (1, "hello", 3.5), 0
for t in tuple: length += 1
print(length)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS