The two asterisks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

The two asterisks

I don’t understand how the two asterisks work. Could someone help me?

26th Jan 2018, 11:24 PM
Moe
2 Answers
+ 7
@Moe, could you please type the language you are asking about?
27th Jan 2018, 12:04 AM
Learnsolo
0
In Python? If so, it's the exponentiation operator: 2 ** 2 is equivalent to 2 squared = 4
27th Jan 2018, 1:10 AM
LunarCoffee
LunarCoffee - avatar