Trying to create function called parseExtension that takes a file name as a string parameter and returns the file extension.
Going to ask users to input a filename ie. Python.exe then print the file extension.
I tried to split the text and a number of issues for me so far. I'm using 2.7.
i.e. Please enter your filename: Python.exe
Your file extension is an: exe
def parseExtension(filename):