James, Maria, Robert
给定一个名称列表，编写一个函数来查找最长的名称。
def find_longest_name(names): 
  longest_name = ""
  for name in names:
    if len(name) > len(longest_name):
      longest_name = name
  return longest_name
  
print(find_longest_name(["James", "Maria", "Robert"]))

# 输出: Robert