79378254

Date: 2025-01-22 15:09:56
Score: 0.5
Natty:
Report link

Regex are great, but if you do not use them often, you quickly forget the syntax.

A version without regex:

my_string="\n\n\n first letter to be"
s1=my_string.split(' ')
s1[1]=s1[1].capitalize()
new_string=' '.join(s1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kaksi