Advertisement
bl00dt3ars

05. Emoticon Finder (v.2)

Jul 24th, 2021
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. text = input()
  2.  
  3. while ":" in text:
  4.     index = text.find(":")
  5.     print(text[index:index+2])
  6.     text = text.replace(":", "", 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement