Consider the following code:

Asked 6 months ago
Viewed 773131 times
1
a = 3
b = 2
print (a ** b)
What is output?
A.9
B.8
C.1
D.6

2 Answer

2

Answer:

C

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

Edit
avatar
Elmo Pfeffer IV
15.5k 3 10 26
answered 6 months ago
2

Answer:

A. 9

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.

Edit
avatar
Randy Dooley
15.5k 3 10 26
answered 6 months ago