Shared via mypy Playground

Home   »   Shared via mypy Playground

from typing import Iterator


def fib(n):
    a, b = 0, 1
    for idx in range(0,n):
        a= a + n
    return a

aaa = fib(10)
print(aaa)
#fib("10")

Leave a Reply

Your email address will not be published.