79783142

Date: 2025-10-05 18:50:42
Score: 1
Natty:
Report link

you could get substring text[:24], remove spaces on its right end rstrip() and get length of both strings and substract them.

spaces += len(table_heading_raw[:raw_index]) - len(table_heading_raw[:raw_index].rstrip()) - 1

from furas answer

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: firedotguy