Fibonacci by Logic Leads

a=int(input())\x0d
f=0                                    \x0d
s=1\x0d
print(f)\x0d
print(s)\x0d
for x in range(2,a):\x0d
   next=f+s                           \x0d
   print(next)\x0d
   f=s\x0d
   s=next\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page