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)
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers