U E D R , A S I H C RSS

피보나치/태훈

~cpp 

if __name__ == '__main__':
    indata = input('숫자를 입력해 보세요 -->> ')

    a,b,c=1,0,0
    for i in range(indata):
        c = a + b
        print c
        a=b
        b=c

    
    


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 0.1015 sec