When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

sarathi_1234's blog

By sarathi_1234, history, 4 years ago, In English

Here the solution of the String Task problem in python guys.

If anyone knows the more optimal solution please comment down bellow

import re n=input() n=re.sub("[aeiouy]*([^aeiouy])[aeiouy]*", r".\1", n.lower()) print(n)

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?