97.4k views
0 votes
Consider the following code:

a = 3
b = 2
print (a ** b)
What is output?
A.9
B.8
C.1
D.6

Consider the following code: a = 3 b = 2 print (a ** b) What is output? A.9 B.8 C-example-1

2 Answers

3 votes

Answer:

C

Step-by-step explanation:

*i'm really bad at explaining* the letters is going up like- a b c d e f g and the numbers are going down like- 3 2 1 0

User Calvin Liu
by
4.9k points
4 votes

Answer:

A. 9

Step-by-step explanation:

the symbol (**) means to put to the exponent to. So in this case, 3**2 is the same as 3^2 or 3 squared, 3x3=9. So that is the answer.

User Shauntay
by
4.6k points