Facebook
From Жанарбек, 3 Years ago, written in Python.
This paste is a reply to Re: Re: Untitled from Жанарбек - go back
Embed
Viewing differences between Re: Re: Untitled and Re: Re: Re: Untitled
def red(spisok,a):
    if a 
red(a):
    c=[1,1]
    fib1=fib2=1
    for i 
in spisok :
        
range(a-2):
        fib_sum=fib1+fib2
        fib1,fib2=fib2,fib_sum
        c.append(fib_sum)
    
return True
    else :
        return False
    
a=[1,2,3,4,5,6,7,8,9]   
c=int(input('Введите число:') ) 
print(red(a,c))
c
print(red(15)) 

Replies to Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Untitled Mature Goose python 3 Years ago.
Re: Re: Re: Re: Untitled Big Pheasant python 3 Years ago.
Re: Re: Re: Re: Untitled Big Sheep python 3 Years ago.
Re: Re: Re: Re: Untitled Жанарбек python 3 Years ago.