79796156

Date: 2025-10-21 19:13:00
Score: 1
Natty:
Report link

Partition the string by the fragment and replace it only in the tail:

a, b, c = string.partition(fragment)
output = a + b + c.replace(fragment, '')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert