#斐波那契数列
#
# def fibonacci(num):
#     a=0
#     b=1
#     index=0
#     while index < num:
#
#         result = a
#         a,b=b,a+b
#         index +=1
#         yield result
# # if __name__ =="__main__":
# f=fibonacci(5)
# for i in f:
#     print(i)



# def fibonacci(num):
#
#     a=0
#     b=1
#
#     index=0
#     while index<num:
#         result=a
#
#         a,b=b,a+b
#         index +=1
#         yield result
# if __name__ =='__main__':
#     f=fibonacci(6)
#     for i in f:
#         print(i)


