Computer Science, asked by sudipta703, 16 days ago

WAP to print the names of five colours in same line using single cout statement with one space in-between.​

Answers

Answered by dapushree
4

Answer:

Simple Input and Output in Python

In any programming language, including Python, output is always simpler than input. So, we will start off looking at simple output.

Simple output in Python

Simple output is one of the first things that you would learn when learning a new programming language. This is because output is one of the basic programming constructs and simple output is the easiest kind of output to use. Simple output is just the printing of text to the console.

The print function

In Python, the function used to perform simple output is the print function. Here is a one line Python program that illustrates how the print function can be used:

Similar questions