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 2021-02-07 05:31:29
Processing time 0.0106 sec