79725891

Date: 2025-08-05 09:40:59
Score: 1
Natty:
Report link

Based on the official Python documentation and common implementation details, the expression L[a:b] = L[c:d] does indeed create a new, temporary list for the right-hand side L[c:d] before the assignment to the left-hand side L[a:b].

https://docs.python.org/3/reference/simple_stmts.html#assignment-statements

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shailesh patil