what is the output of expression 2**3
Subject - computer
Topic - programming in phython
Attachments:
Answers
Answered by
4
Answer:
12 is the answer
Hope this helps you❤
Answered by
1
In python ' x x' (double asterisk) operator is known as the power operator. Thus, the outcome of the expression 2 xx 3 turns out to be 8.
Detailed Explanation:
- When a number is needed to be raised to the power of an exponent in the Python programming language the 'xx'operator (double asterisk operator) is used.
- In simple terms the given expression is read as the cube of 2 in python language.
- On solving the given expression we will get the outcome as 8.
2 xx 3=
which is equals to: 2 x 2 x2
Therefore, the outcome will turn out to be 8.
Similar questions
Art,
4 months ago
Social Sciences,
4 months ago
Math,
9 months ago
Math,
1 year ago
Biology,
1 year ago