Content deleted Content added
m →Computer programming: PEP-8 |
This code is unrelated to the example |
||
Line 9:
In [[Design Patterns]], an aggregate is not a design pattern but rather refers to an object such as a list, vector, or generator which provides an interface for creating [[iterator]]s. The following example code is in [[Python (programming language)|Python]].
<source lang="python">
def fibonacci(n):
a,b = 0,1
|