human
Write me a Python program to read the first line in a txt file.
assistant
Here is a Python program to read the first line in a txt file

filename = "test.txt"

# Calling the function
print((read_first_line(filename)))

#Example Output
# This is a test.

#Remember to inspect code for bugs.