Hi there.
I am trying write a module that can be executed at the command line and for some reason it's not working. Does anyone know why?
import sys
def fibonacci(N):
a,b =0,1
while b < N:
a,b = b, a+b
print b
N=sys.argv[1]
Does it matter that I'm running it on a windows command prompt?