How to convert the following string in python?,print('/'.join(new))