Discuss / Python / 111

Thatsmynigga

#1 Created at ... [Delete] [Delete and Lock User]

def triangle(): l = [1] while True: yield l l = [1] + [l[i] + l[i+1] for i in range(len(l)-1)] + [1]


  • 1

Reply