# 11-93 Listing 10.10: listreverse.py
def ref(lst):
    return [] if len(lst) == 0 else ref(lst[1:]) + lst[0:1]

print(ref([1, 2, 3, 4, 5, 6, 7]))

310e3817a36639d6e6fe48e82459632c91fdc3e1
<mask token>

def ref(lst):
    return [] if len(lst) == 0 else ref(lst[1:]) + lst[0:1]


<mask token>

def ref(lst):
    return [] if len(lst) == 0 else ref(lst[1:]) + lst[0:1]


print(ref([1, 2, 3, 4, 5, 6, 7]))

# 11-93 Listing 10.10: listreverse.py
def ref(lst):
    return [] if len(lst) == 0 else ref(lst[1:]) + lst[0:1]

print(ref([1, 2, 3, 4, 5, 6, 7]))
