#!/usr/bin/python
# -*- coding: UTF-8 -*-

f1 = 1
f2 = 1
for i in range(1,21):
    print '%12d %12d' % (f1,f2)
    if (i % 2) == 0:
        print ''
    f1 = f1 + f2
    f2 = f1 + f2

 

相关文章:

  • 2021-09-12
  • 2022-12-23
  • 2022-01-05
  • 2021-06-06
  • 2021-06-26
  • 2021-08-31
  • 2021-07-10
  • 2022-01-04
猜你喜欢
  • 2021-09-07
  • 2022-01-25
  • 2022-01-11
  • 2022-12-23
  • 2021-12-02
  • 2021-09-28
相关资源
相似解决方案