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

two-thirds of a number decreased by twelve
Refer to Explorations in Literature for a complete version of this poem. In "Daystar" by Rita Dove, how does the image of the woman closing her eyes and wanting
Which of the following is not a way that science influences society
Why do poets use imagery?
Which of the following characteristics of water is NOT a result of hydrogen bonding? Adhesive strength Cohesive strength Capillary action Covalent
Construct an explanation of how sodium and chlorine combine to form sodium chloride. A) Chlorine metal loses a valence electron to become a cation and nonmetal
please try to answer quickly :) thanks
why is it useful to write a ratio of fractions as a unit rate
In how to eat an ice cream cone what’ve does the author compare a melting ice cream cone to ?
PLEASE HELP ASAPIn a salsa recipe, the number of tomatoes added is proportional to the amount of salt added. This graph shows the relationship. What is the unit