0

What does ^ mean?

16th Feb 2016, 12:50 PM
KO KS
KO KS - avatar
4 Antworten
+ 1
Inversion of expression. I.e. ^digits = all but digits
25th Feb 2016, 4:19 PM
aht
+ 1
its a metasymbol that defines the start of the row in string variable, in opposition to $ (the end of the row). IMHO to multiply 2*2*2 it is possible to use 2**3 syntax
19th Jul 2016, 8:43 PM
Темур Турсунбаев
Темур Турсунбаев - avatar
+ 1
On the string it means that it has to start with it (i.e..: r"^h" it must start with h). On a class it inverts it (i.e.: r"[^A-Z]" it must not have capital letters). Remember that [ ] means it's a class.
31st Jul 2016, 2:59 PM
Moises Mubarqui
Moises Mubarqui - avatar
- 4
power....suppose 2^3 means 2*2*2
3rd Jul 2016, 2:35 PM
Pratham Singh
Pratham Singh - avatar