14.7k views
0 votes
What is output by the code below?


print("Comp Sci")

print("Rocks")

User Rima
by
4.8k points

1 Answer

2 votes

Answer:

If this is python the output will be:

Comp Sci

Rocks

Step-by-step 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!

User Alexbclay
by
5.3k points