Computer Science, asked by IAkil859, 11 months ago

computer science

Describe what will happen when we run the following code:

colour = input("What is your favourite colour?")
print("That is my favourite colour too.")

Answers

Answered by monjyotiboro
7

Answer:

If u enter the name of any colour ,the output will be :

This is my favourite colour too.

Hii

brainliest plz

joi AAI akhom

Answered by tiger009
0

Python Programming Language

Output:

That is my favourite colour too.

Explanation:

In the following program which is written in the Python Programming Language.

  • Set the variable 'color' which gets input from the user by passing the message inside the pre-defined input function that is used to get input from the user.
  • Then, print the following message in the next line through the pre-defined print function that is used to print a message or any output of the variable.

Learn More:

https://brainly.in/question/5985607

Similar questions