simple way of finding file extension python programming

Solutions on MaxInterview for simple way of finding file extension python programming by the best coders in the world

showing results for - "simple way of finding file extension python programming"
Angelo
26 Jan 2017
1file = input("Which file did you opend last time user:- ")
2extenction = file.split(".")
3print("humm so last time you opened file extenction was .",extenction[1])