How to create a list from another list using specific criteria in Python?,print([i.split('/')[1] for i in input if '/' in i])