Human: What is a good Python function to longest string in a list. Assistant: 
Here is a Python function to find the longest string in a list

# Enter the list
list_of_strings = ["hello", "world", "hi"]

# Calling the function
print((longest_string(list_of_strings)))

#Example Output
# hello

#Remember to inspect code for bugs.