79458327

Date: 2025-02-21 18:33:07
Score: 0.5
Natty:
Report link

There is a slightly better way (even if I also think it is not better than using remove() )

print([v for v in l if v != 2]) 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: 2diabolos.com