You correctly identified the recursive step, but failed to implement the recursive function. Try
def recur_triangle(ilist, olist):
olist.append(ilist)
if len(ilist) < 2:
return
recur_triangle(ilist[1:-1], olist)
olist = []
recur_triangle([1,2,3,4,5], olist)
print(olist)