sarathi_1234's blog

By sarathi_1234, history, 2 months 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

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I found 1 best thing about #Codeforces is it shows all the test cases where my code can't run properly. "After a lot of effort if your code runs and accepted that is the real satisfaction."

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

May be difficult for a beginner. but nice...