input: Write a python function to find the largest string based on length.
  assert largest_string("apple", "banana") == "banana"
  assert largest_string("cat", "dog") == "cat"
  assert largest_string("hello", "world") == "hello"
output: def largest_string(str1, str2):
      return str1 if len(str1) > len(str2) else str2