#Python #PrintFunction
I am demonstrating how we can use print function in so many ways, we will also see how we can use console, and execute commands directly from console.
Read an integer 𝑵.
Without using any string methods, try to print the following:
𝟏𝟐𝟑…𝑵
Sample Input
5
Sample Output
12345
Print Functon Syntax
print(*objects, sep=‘ ’, end=‘\n’, file=sys.stdout, flush=False)