Facing Challenges with the separator and single line output in basic program
Created 2 years ago
40
Views
2
Comments
There is one challenge given in basic programming to print the 9th Table. I have written the code in python, but unable to print the output in single line. I tried using list to append the result to list and print the values in list in the next loop. While Printing the output in am writing the statement as:
print(i, end = " ")
While writing as like this is extra space appending at the end as per my guess and is getting error. I tried to search in the google, but was unlucky with the result.
Can anyone please help me out with this.