79281904

Date: 2024-12-15 06:29:06
Score: 2
Natty:
Report link

Is it necessary to use regex?

content ='12345 67890 123175 9876'
for item in content.split(' '):
    if not item.endswith('175'):
        print(item)

Output

12345
67890
9876
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is it
  • High reputation (-1):
Posted by: moken