79568063

Date: 2025-04-11 05:38:28
Score: 2
Natty:
Report link

im a rookie, but I tired this and it works lol:

def swap(alist):
    first = alist[0]
    last = alist[-1]
    alist[0] = last
    alist[-1] = first
    return alist
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: hehe