def middle(t):
    del t[0]
    del t[-1]
    return t

print middle(['1','2','3','4','5'])
9778b19f7ad2dc12890238dbfd3ae74c3ad9c308
def middle(t):
    del t[0]
    del t[-1]
    return t

print middle(['1','2','3','4','5'])