I new to python. I use Python 3.3 in Eclipse Kepler.
This is my code snippet:
f = Fibonacci(0,1)
for r in f.series():
if r > 100: break
print(r, end=' ')
At the line print(r, end = '')
, eclipse reports a syntax
error - Syntax error while detecting tuple
. However, the
program runs perfectly.
Why does this happen and how do I fix the error?