efrmonsivaisalfaro efrmonsivaisalfaro
  • 01-04-2021
  • Computers and Technology
contestada

What is output by the code below?


print("Comp Sci")

print("Rocks")

Respuesta :

handsomesquid807
handsomesquid807 handsomesquid807
  • 01-04-2021

Answer:

If this is python the output will be:

Comp Sci

Rocks

Explanation:

When you print something it will output that line. However, when you print something in python it automatically skips a line. For instance you told print Comp Sci. And then you asked python to print Rocks. Python will output those two things on two separate lines. Thus proving the answer is:

Comp Sci

Rocks

hope this helps!

Answer Link

Otras preguntas

Which shows the scientific view of first appearance on earth
Which event took place in Boston on December 16, 1773, in protest of the Tea Act?
Egypt is bordered by the Red Sea and the Mediterranean Sea. a. True b. False
Did Athens invent the agora
In a short story, which situation would be called ironic? A. Asking for help with a big problem B. Retelling a conversation between two characters C. Describing
Which ion was formed by providing the second ionization energy to remove an electron?
jenna flips to pennies 105 times how many times can she expect both coins to come up heads
Which sentence uses italics or quotation marks correctly? A. My little sister sings along whenever she hears Raffi singing Baby Beluga. B. My sister listens
In world war 1 what type of warfare did the United States engage in??
What idea is Viola emphasizing in these bolded lines from Shakespeare's Twelfth Night?