Question: python 1: Write a function which could return the filename's extend name. It accepts one argument.(xx.txt.doc. XX.Ex.xx.xls.ppt.doc) If the argument is not a valid filename,
1: Write a function which could return the filename's extend name. It accepts one argument.(xx.txt.doc. XX.Ex.xx.xls.ppt.doc) If the argument is not a valid filename, it should return it is a invalid filename
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
