human
Write a function to find whether all the given tuples have equal length or not. Here is a solution in Python:
=====
What is a Python program to find whether all the given tuples have equal length or not?
assistant
#Here is Python program to find whether all the given tuples have equal length or not.
 def find_equal_tuple(Input):
  k = 0 if not Input else len(Input[0])
  flag = 1
  for tuple in Input:
    if len(tuple) != k:
      flag = 0
      break
  return flag
def get_equal(Input):
  return find_equal_tuple(Input) == 1