Computer Science
How would you write xy in Python as an expression ?
- x^y
- x**y
- x^^y
- none of these
Python Funda
10 Likes
Answer
x**y
Reason — ** is an arithmetic operator used for exponentiation.
Answered By
5 Likes
How would you write xy in Python as an expression ?
10 Likes
x**y
Reason — ** is an arithmetic operator used for exponentiation.
Answered By
5 Likes