191k views
1 vote
NumA = 3
numB = 2
Result = numA ** numB

User Miradulo
by
5.8k points

2 Answers

3 votes

Answer:

9

Step-by-step explanation:

The double asterisk is the exponent operator.

Three to the second power is nine.

NumA = 3 numB = 2 Result = numA ** numB-example-1
User Fdwillis
by
5.9k points
3 votes

Answer:

The result of the following code will be 9

Step-by-step explanation:

There are several operators used in Python to do mathematical calculations.

** operator is used for exponents.

i.e.

a ** b mathematically means a^b

Here in the given code

3 is assigned to numA and 2 is assigned to numB

Result will be equal to 3^2

Hence,

The result of the following code will be 9

User Tomek Buszewski
by
5.2k points