Write a function to Find the size of a Tuple in Python without garbage values


Topic: Write a function to Find the size of a Tuple in Python without garbage values

Solution

Tuple = (10,20)
def sizeOfTuple(tup):
  return f'Size of Tuple: {str(Tuple.__sizeof__())} bytes' 



List all Python Programs