U E D R , A S I H C RSS

피보나치/아영,규완,보창

No older revisions available

No older revisions available



피보나치

~cpp 
def pivo(n):
    if n > 1:
        return pivo(n-1) + pivo(n-2)
    else:
        return 1
    
if __name__== '__main__':
    print "What ?:"
    print pivo(input()-1)
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:28
Processing time 0.0249 sec