+ 2

Can exponential operations be performed using ^ in python in any version?

26th Oct 2016, 4:19 PM
Jaya
6 ответов
+ 4
No .... In Python for exponential operations you need to use ** 2**5
26th Oct 2016, 4:36 PM
Waqas Asghar Bhalli
Waqas Asghar Bhalli - avatar
+ 1
Yes exponential operations are performed with double * sign 2**5 = 2^5
26th Oct 2016, 4:25 PM
Waqas Asghar Bhalli
Waqas Asghar Bhalli - avatar
+ 1
That means we can use either ** or ^?
26th Oct 2016, 4:33 PM
Jaya
0
Yes by using ** sign
25th Nov 2018, 2:57 PM
anjali shrivastav
anjali shrivastav - avatar
0
What Jaya is asking is can ^ be used INSTEAD of ** in ?
8th Dec 2018, 1:12 AM
Steve Augustin
Steve Augustin - avatar
0
No that cant be used
22nd Dec 2018, 8:11 AM
Victor Torgbor Abla-Tyei
Victor Torgbor Abla-Tyei - avatar