Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = input()
- for i in range(len(text)):
- ch = text[i]
- if ch == ":":
- symbol = text[i + 1]
- print(f":{symbol}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement