What is the code in python simple calculator to perform exponent operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the code in python simple calculator to perform exponent operator

3rd Oct 2020, 1:31 PM
Sandhya Rani
2 Answers
+ 5
Tag Python rather than 'hajaj' please. If you want to mention a friend, then type @ followed by their name in the Description. Mentions don't work in question title nor the tags.
3rd Oct 2020, 1:43 PM
Ipang
+ 1
** is the power opearor in python.. Ex : 2**3 =>2 to the power of 3 print(2**3) Output : 8
3rd Oct 2020, 1:37 PM
Jayakrishna 🇮🇳