- 1

What is =>?

Found in code example for regular expression re.search(r'iii','piiig') => found, match.group() =='iii'.

23rd Nov 2016, 5:44 PM
tom d
tom d - avatar
7 Answers
+ 2
>= If the value of left operand is greater than or equal to the value of right operand, then condition becomes true. (a >= b) is not true. you can also find more info at www.tutorialspoint.com/JUMP_LINK__&&__python__&&__JUMP_LINK/python_basic_operators.htm hope this helps. please let me know if you have any other questions.
23rd Nov 2016, 5:58 PM
Metrik đŸ•”
Metrik đŸ•” - avatar
+ 2
i did some research into => and they do not have any expression like that for python that i could find. i will keep looking. but here are some site that will have some helpful info for you https://www.programiz.com/python-programming/operators https://docs.python.org/2/reference/lexical_analysis.html#operators
23rd Nov 2016, 6:10 PM
Metrik đŸ•”
Metrik đŸ•” - avatar
+ 2
i try to go to that link but it is unavailable. i also reached out in the python community using a irc chat. and they say => is not any thing in python. could it be from a diffrent code language?
23rd Nov 2016, 7:32 PM
Metrik đŸ•”
Metrik đŸ•” - avatar
0
That is correct, however I am looking for => not <=. There is a difference to the interpreter. Just doing 3=>2 gives a syntax error.
23rd Nov 2016, 6:03 PM
tom d
tom d - avatar
0
I have been looking also with no luck. Here is where I found the example code: https://developers.google.com/edu/JUMP_LINK__&&__python__&&__JUMP_LINK/regular-expressions.
23rd Nov 2016, 6:40 PM
tom d
tom d - avatar
0
Thanks. It's a good link. I checked it.
23rd Nov 2016, 7:45 PM
tom d
tom d - avatar
0
its used like this. >= not=> , >= means greater than or equal to ...used in an if statement for example.. # including <iostream> using namespace std; into main () for(int x=21; x>=35; int x+=11){ return x; }
23rd Nov 2016, 9:15 PM
AKIL
AKIL - avatar