Python Editor

Python | Lesson 1 | Console Output


# Use Print Function to print to the Console.  Use the above online IDE to write the code and run.  

# syntax - print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)

# Prints the values to a stream, or to sys.stdout by default. Optional keyword arguments:

# file: a file-like object (stream); defaults to the current sys.stdout.

# sep: string inserted between values, default a space.

# end: string appended after the last value, default a newline.

# flush: whether to forcibly flush the stream.

print("welcome to CodersStack!! Coding is fun")

4 comments: