What is the use of << or>> in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of << or>> in python?

30th Apr 2018, 4:09 PM
Bala Krishnan V
Bala Krishnan V - avatar
2 Answers
+ 2
They are called bitwise operators x<<y means the value of x ins moved left by y places https://wiki.python.org/moin/BitwiseOperators https://www.tutorialspoint.com/python/bitwise_operators_example.htm
30th Apr 2018, 4:28 PM
Koushik Naskar
Koushik Naskar - avatar
+ 1
thanks koushik
30th Apr 2018, 4:36 PM
Bala Krishnan V
Bala Krishnan V - avatar