Dave Angel wrote: > Peter Otten <__pete...@web.de> Wrote in message: > >> >> In your code change >> >> fib1 = isOddMy(fib) >> >> to >> >> fib = isOddMy(fib) >> >> and the without@ version will produce the same output as the with@ >> version. >> >> > > I expect that one more thing is needed, since the above is inside > a function: > > global fib > fib = isOdd (fib)
Yes, sorry, I missed that. -- https://mail.python.org/mailman/listinfo/python-list