79747417

Date: 2025-08-27 00:13:14
Score: 1
Natty:
Report link
def split_sentences(s: str):
    parts = re.split(r"[\.!\?]+", s)         # 1. split on ., !, or ? (one or more in a row)
    return [p.strip() for p in parts if p.strip()]  # 2. trim spaces and drop empty parts
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rash Moj