3 lines
135 B
Python
3 lines
135 B
Python
filename = input("Input the Filename: ")
|
|
f_extns = filename.split(".")
|
|
print ("The extension of the file is : " + repr(f_extns[-1])) |