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

Please help me with #5
Which of the A. work following is NOT a lifestyle factor that affects physical fitness? B. chores C. exercise D. clothing
A man with type a blood married a woman with type B.Their offspring will be AB blood. The pattern of inheritance is called
|-2| ≥ |-3| True False
What did the Ming Dynasty and the Tokugawa Shogunate have in common? A) Both societies followed Confucian practices. B) Both societies overthrew outside invader
Before you answer, please take in mind that this goes over multiple topics. If you try to answer, you get 50 points. This is for me to see how willingly you wan
Beowulf: What universal or timeless value is shown in lines 32-36 A. courage C. hope B. loyalty D. love
Find all solutions to 15x^+22x^2=15x–2​
What movement of Earth causes seasons? A: Rotation B: Equator C: Hemispheres D: Revolution
The clerk had to blank the sale of the new blank I bought at the music store