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

Can someone help with this question?
382 Which equation represents a circle with a center at (-3, -5) and a radius of 6 units? (x-3)2 + (y – 5)2 = 6 (x - 3)2 + (x - 5)2 = 36 (x + 3)2 + (y + 5)2 = 6
what role does language play in the making of a person
Why does Laura feel proud?
Reduce to simplest form. -9/12 - (-7/4)=
A graph with a calibration curve, linear regression and extrapolation was drawn up from your lab results. What were the two types of data that were being compar
What caterpillar is this he is striped on the short way with black white and yellow and the i put a stick near him orange things stick out of his head what is h
Write an equation to solve The library bought books at $15 each and a video rack for $35. These purchases cost $395 altogether. How many books were bought?
A blue filter will absorb?
Did the eastern empire typically had problems with nomads?