Has anyone tried 2**0. Confirm your answer with your calculator. I hope you spot the difference | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Has anyone tried 2**0. Confirm your answer with your calculator. I hope you spot the difference

Exponential

21st Aug 2021, 7:29 AM
Alani Babatunde
Alani Babatunde - avatar
6 Answers
+ 2
Hi, what's your question? Which programming language?
21st Aug 2021, 7:55 AM
Lisa
Lisa - avatar
+ 2
Alani Babatunde , using python with print(2**0) gives the same result as using the calculator, if you use the function xᵞ there.
21st Aug 2021, 9:00 AM
Lothar
Lothar - avatar
+ 1
Thank you bro
21st Aug 2021, 8:25 AM
Alani Babatunde
Alani Babatunde - avatar
0
Oh I forgot. The language is Python
21st Aug 2021, 7:58 AM
Alani Babatunde
Alani Babatunde - avatar
0
Have seen my mistake. I was using one asterisk and not two
21st Aug 2021, 9:04 AM
Alani Babatunde
Alani Babatunde - avatar