input: Write a function to determine if two strings can be considered equal, different, or similar up to a provided threshold. If the strings are equal, return "Equal". If they are different, return "Different". If they are similar up to the threshold, return "Similar". If no threshold is provided, use a default of 0.5.
  assert string_comparison("hello", "hello")=="Equal"
  assert string_comparison("hello", "halo")=="Different"
  assert string_comparison("hello", "hallo")=="Similar"
  assert string_comparison("hello", "hell")=="Similar"
  assert string_comparison("hello", "halla", threshold=0.3)=="Different"
output: def string_comparison(str1, str2, threshold=0.5):
      if str1 == str2:
          return "Equal"
      if len(str1) != len(str2):
          return "Different"
      diff_count = sum(1 for a, b in zip(str1, str2) if a != b)
      similarity = 1 - (diff_count / len(str1))
      if similarity >= threshold:
          return "Similar"
      else:
          return "Different"