I want to look for the extension of a filename, and the extension can only be 3 characters long.
it is something like,
filename = str(input("Please enter filename: "))
then I want to execute a task to look for the extension, and if the extension doesn't fulfill the requirement (i.e. 3 characters long), I'll add print "Invalid extension!" Else, print "Valid extension."