79724198

Date: 2025-08-03 17:14:45
Score: 1.5
Natty:
Report link

You can swap using

n = [1, 2, 3, 4, 5]

n[0], n[1], n[2] = n[2], n[0], n[1]

n == [3, 1, 2, 4, 5]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ayincey