LearnPy Hub
← Strings problems
Medium

Mask an Email Address

Read an email address. Keep the first letter of the name part, replace the rest of the name part with * (one per letter) and keep @ and the domain.

Input

One email address.

Output

One line.

Sample 1

Input
mim@gmail.com
Output
m**@gmail.com

Sample 2

Input
a@x.org
Output
a@x.org
solution.py
Output appears here
Mask an Email Address · Python practice problem · LearnPy Hub