aboutsummaryrefslogtreecommitdiff
path: root/challenge-104/laurent-rosenfeld/python/ch-1.py
blob: 568074e487ce581ee497985a0a812fd496119135 (plain)
1
2
3
4
fusc = list(range(0, 50))
for i in range (2, 50):
    fusc[i] = fusc[int(i/2)] if i % 2 == 0 else fusc[int((i-1)/2)] + fusc[int((i+1)/2)]
print (fusc)