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

bill wants to rent a car. rental car a
Write the missing spelling words.
Convert 0.533333... to a fraction. (only the 3 is repeating) Please show the work!!
What is the structure for Cellulose? Please just a description, picture not neccessary :)
I need help with - The product of two integers is -21. The difference between the integers is -10. The sum of the two integers is 4. What are the two integer
Explain why ionic crystals melt at much higher temperatures than typical covalent molecular crystals
What additional evidence demonstrates that the conflict in xinjiang is a cultural one?
what is balance of power?
what does the author say about the bulk of the content in the declaration of independence
My brother needs help and I'm to busy so I have my phone to him please help him thank you