Possible Duplicate:
Printing without newline (print 'a',) prints a space, how to remove?
I need to print the Fibonacci series Horizontally..ie., the output must be like this
The Fibonacci series is : 0,1,1,2,3,5,8,13.
I don’t want to print it as a list also.
I know how to print in vertically.. But can’t print it horizontally with ‘The Fibonacci series is : ‘ only coming once.. Please help guys!!
I assume you want all the numbers in the series to be printed on the same line.
Your code would look like this