Advertisement
simeonshopov

Emoticon Finder

Feb 11th, 2020
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. text =  input()
  2. [print(f':{text[i + 1]}') for i in range(len(text)) if text[i] == ':']
  3.  
  4. # text = input()
  5. #
  6. # for i in range(len(text)):
  7. #     if text[i] == ':':
  8. #         print(f':{text[i + 1]}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement