rdp9q6chkg rdp9q6chkg
  • 20-03-2021
  • Computers and Technology
contestada

Consider the following code:
x = "apple"
y = x
z = "banana"
print(x + " " + y + "\n" + 2)

Respuesta :

Omm2 Omm2
  • 25-03-2021

Answer:

apple apple

banana

Explanation:

Given - Consider the following code:

x = "apple"

y = x

z = "banana"

To find - print(x + " " + y + "\n" + z)

It will print -

apple apple

banana

First will apple followed by '' '' that is space then y which is equal to x that is apple then followed by ''\n'' new line then banana.

So, The answer would be

apple apple

banana

Notation used -

'' '' represents space between two values

''\n'' represents new line

Answer Link

Otras preguntas

Summarize the boserup thesis which describes changing agricultural land use
Compare ponds, lakes, and stream pools.
What is the formula for finding pythagorean theorem?
A nurse provides teaching for a client who is scheduled for a cholecystectomy. in the initial postoperative period, the nurse explains that the most important p
Some polling agencies ask people to call a telephone number and give their response to a question.​ (a) list an advantage and a disadvantage of a survey conduct
List the characteristics of a mechanical wave. your answer
How did the changes on barestplates and helmets contributed to decline of roman
solve each equation using inverse operations: 1. 9w = -54 2. b - 12 = 3 3. n/4 = -11
Five hundred years later after the Mauryan dynasty failed, which dynasty reunited much of northern India ?
Compare and contrast progressivism and new deal liberalism