# Excercise 2-8 File Extensions
# Learning Objective: Utilize removesuffix() method. Additionally one could use removeprefix() as well. 


filename = "python_notes.txt" 
print(filename.removesuffix('.txt'))
