Sha256: fc9eac634f802eb17ebb5eb435c008554d078da0c9cb2830bb81f2dc91be8845

Contents?: true

Size: 164 Bytes

Versions: 127

Compression:

Stored size: 164 Bytes

Contents

def fib(n):    # write Fibonacci series up to n
    """Print a Fibonacci series up to n."""
    a, b = 0, 1
    while a < n:
        print a,
        a, b = b, a+b

Version data entries

127 entries across 125 versions & 9 rubygems

Version Path
rouge-3.26.0 lib/rouge/demos/python
rouge-3.25.0 lib/rouge/demos/python
rouge-3.24.0 lib/rouge/demos/python
rouge-3.23.0 lib/rouge/demos/python
rouge-3.22.0 lib/rouge/demos/python
rouge-3.21.0 lib/rouge/demos/python
rouge-3.20.0 lib/rouge/demos/python
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/rouge-2.2.1/lib/rouge/demos/python
rouge-3.19.0 lib/rouge/demos/python
rouge-3.18.0 lib/rouge/demos/python
rouge-3.17.0 lib/rouge/demos/python
rouge-3.16.0 lib/rouge/demos/python
rouge-3.15.0 lib/rouge/demos/python
rouge-3.14.0 lib/rouge/demos/python
rouge-3.13.0 lib/rouge/demos/python
rouge-3.12.0 lib/rouge/demos/python
rouge-3.11.1 lib/rouge/demos/python
rouge-3.11.0 lib/rouge/demos/python
rouge-3.10.0 lib/rouge/demos/python
rouge-3.9.0 lib/rouge/demos/python