Python Programming - Tricky Questions - Discussion

Discussion Forum : Tricky Questions - General Questions (Q.No. 33)
33.
What is the output of the following Python code?
x = 3
y = 2
result = x ** y
print(result)
6
8
9
1
Answer: Option
Explanation:
The double asterisk (**) is the exponentiation operator, and 3 raised to the power of 2 is 9.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.