Computer Science, asked by mahimamahima5825, 9 months ago

Fill in the blanks so that the code prints "Yellow is the color of sunshine".
color = ___
thing = ___
print(color + " is the color of " + thing)

Answers

Answered by imaniakki
4

Answer:

color = "yellow"

thing = "sunshine"

print(color + " is the color of " + thing)

Explanation:

i take a coding course

Answered by BrainlyYoda
3

color = "Yellow"

thing = "sunshine"

print(color + " is the color of " + thing)

This is the required códe to print Yellow is the color of sunshine

Explanation

The variable color is assigned the string "Yellow"

The variable thing is assigned the string "sunshine"

In the print() statement all the variables and strings are connected by addition(+) operator to form a meaningful sentence or new string.

Extra Information

Alphabets, words, or other characters when enclosed between single quotation marks (' ') or double quotation marks (" ") are called strings.

The addition(+) operator is also known as the concatenate operator. It is used to combine one or more text strings to produce an output as a single string.​

Python is created by Guido van Rossum and came into existence in 1991. It is a high-level and general programming language. It is a very lucid programming language as it has a good language construct and object-oriented approach. It is dynamically typed and garbage-collected.

Similar questions