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

SIMPLIFY THESE ..WORKING WITH POLYNOMIALS (3x^2-2x+2)-(x^2+5x-5) and (4x-3+2x^2)+(2x+1)
30 increased by 3 times the square of a number
If a number is divided by both 2 and 3 then we can say the number is divided by
Chemistry is the science of materials, their composition and structure and the changes they undergo, we study chemistry because
what is the simplified version of 10x(426)
how do differences in structure and or function influence biodiversity among living things
what are the main political ideas put forth in the declaration of independence
Graph the linear function f(x) =3x+2 and find the maximum on the interval [-1,1]
What is 40 1/2 divided by 13 1/2?
How do you say this in spanish Hi how are you? Can I invite you to dinner?