Advertisement
Guest User

fibonacci infinitesimally

a guest
Nov 9th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1. a = 0
  2. b = 1
  3. while a < 200:
  4.     a # we state a before the math is done so the sequence starts at 0 and not 1
  5.     a, b + b, a + b
  6.     if  a > 0:
  7.         print("a is not infinitesimally, forever approaching an output (ref line 12)")
  8.     else:
  9.         if a == 0:
  10.             print("a is infinitesimally,.is this division by zero? line 5 goes into line 12 x number of times")
  11.     if a > 21:
  12.         print(a)
  13.         a, b = b + a, b + b
  14. # the computer is lying. why doesn't it count over 21?
  15. # trying to reach line 12 without setting a variable on lines 4-5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement