Guys if any1 understood the meaning of **(2 astrieks) that, pls do explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Guys if any1 understood the meaning of **(2 astrieks) that, pls do explain

Thanx alot if you do

31st Dec 2016, 4:13 AM
priyanshu
priyanshu - avatar
5 Answers
+ 4
It is the exponential operator. if you want to write for example x squared, you would do it like this: x**2
31st Dec 2016, 4:26 AM
Alejandro Aristizabal
Alejandro Aristizabal - avatar
+ 1
its very simple dude... ** is used to square the number. E.g. 5**2 = 5^2 = 25
2nd Mar 2017, 6:58 AM
Sanjeev Pratap Singh
Sanjeev Pratap Singh - avatar
0
Two of these **means an exponent. For example,if you want 2to the 3rd power you would write it like this: 2**3
1st Jan 2017, 3:20 PM
Roxie
0
it's exponential powers. like 2² = 2**2 , 3**2 = 3² , 4**2 = 4². these are the squares. for cubes 2**3 = 2³ , 3**3 = 3³ , and so on the power can be increased. and Python solves 2² {=4}
5th Mar 2017, 5:19 AM
Pavan Kapoor
Pavan Kapoor - avatar
- 1
Priyanshu its an exponentiation 5^3=125 like that we use 5**3=125 Got it now
3rd Jan 2017, 9:50 AM
ANIMESH GUPTA
ANIMESH GUPTA - avatar