198k views
0 votes
What is the output of this line of code? print(3**3) A. 6 B. 9 C. 27 D. 3

User Shakeisha
by
7.1k points

1 Answer

5 votes

Answer:

C. 27

Step-by-step explanation:

The output of this line of code is :

print(3**3) = 27

The reason for this is that ** is the operator for exponentiation, it raises the number on the left to the power of the number on the right.

So 3**3 means 3 raised to the power of 3 which is equal to 27.

Therefore the output will be C. 27

User Sdr
by
7.8k points