~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to test/test_framework/fib.py

  • Committer: David Coles
  • Date: 2009-08-13 05:33:26 UTC
  • mto: (1294.2.124 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: coles.david@gmail.com-20090813053326-biq764rcow4stz4x
Add a special HelpTreeBreadcrumb, which has a submenu for the items.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
def fib(n):
 
2
    a = 0
 
3
    b = 1
 
4
    for i in range(2,n+1):
 
5
        a, b = b, a+b
 
6
 
 
7
    return b