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,

python
python 1: Write a function which could return the filename's extend name.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!