On exponentiation | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

On exponentiation

If ** is used to raise a number to another, what does ^ now do?

5th Apr 2021, 10:38 PM
Oluwadurotimi Efunshile
4 Réponses
+ 2
6th Apr 2021, 12:43 AM
BroFar
BroFar - avatar
+ 1
Oh oh thanks a lot 🤟
5th Apr 2021, 10:53 PM
Oluwadurotimi Efunshile
0
Hi! You can use it as a operator for symetric differance between two sets.
5th Apr 2021, 10:51 PM
Per Bratthammar
Per Bratthammar - avatar
0
And as a bitwise operator it works as exclusive or (XOR).
5th Apr 2021, 10:57 PM
Per Bratthammar
Per Bratthammar - avatar