← Problem book: C
Lesson 80 of 96 · 10 XP
Asterisks between letters
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
You are given one word of lowercase Latin letters (no longer than 100 characters).
Print the word with an asterisk inserted between neighbouring letters: cat → c*a*t.
Example
Input:
cat
Output:
c*a*t
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.