I’m made Fibonacci algorithm and everytime it prints the sequence in different lines
Please how can I print all the sequence in the same print line ??
Another possible solution would be to out how to print without a newline at the end.
I don't know which language you are using, but in python you can do
print("text", end=""). This defines the end token to be an empty string, instead of
\n - the default value.