Advertisement
RedstoneHair

longest comprehension

Nov 9th, 2022
946
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. print(*[''.join([value for value in string if value.isalpha()]) if i == 0 else ''.join([value for value in string if value.isdigit()]) if i == 1 else ''.join([value for value in string if (not value.isdigit()) and (not value.isalpha())]) for i, string in enumerate([input()] * 3)], sep='\n')
  2.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement