input: def most_common_fruit(fruit_list):
      """
      Takes a list of fruit names and returns the most common fruit name.
  
      >>> most_common_fruit(['Apple', 'Orange', 'Apple', 'Pineapple', 'Grape', 'Apple'])
      'Apple'
      >>> most_common_fruit(['Banana', 'Banana', 'Banana', 'Apple', 'Apple'])
      'Banana'
      >>> most_common_fruit(['Strawberry'])
      'Strawberry'
      """
      
      # Dictionary to get count of each fruit
      freq_dict = {}
      
      # Count frequency of each fruit
      for fruit in fruit_list:
          if fruit in freq_dict:
              freq_dict[fruit] += 1
          else:
              freq_dict[fruit] = 1
      
      # Get maximum frequency 
      max_freq = 0
      for freq in freq_dict.values():
          if freq > max_freq:
              max_freq = freq
      
      # Get the most common fruit
      most_common_fruit = None
      for fruit, freq in freq_dict.items():
          if freq == max_freq:
              most_common_fruit = fruit
              break
      
      return most_common_fruit
output:     # Dictionary to get count of each fruit
      freq_dict = {}
      
      # Count frequency of each fruit
      for fruit in fruit_list:
          if fruit in freq_dict:
              freq_dict[fruit] += 1
          else:
              freq_dict[fruit] = 1
      
      # Get maximum frequency 
      max_freq = 0
      for freq in freq_dict.values():
          if freq > max_freq:
              max_freq = freq
      
      # Get the most common fruit
      most_common_fruit = None
      for fruit, freq in freq_dict.items():
          if freq == max_freq:
              most_common_fruit = fruit
              break
      
      return most_common_fruit