Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ralph Custodio
- # BSIT II-A
- file_name = input("Input the Filename: ")
- file = file_name.split(".")
- file_extension = file[-1]
- print("The extension of the file is : " + repr(file_extension))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement