Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

What does << do in Python

'<<' in python is a bitwise operator. For example:
	m << n
This operation returns 'm' with bits shifted to the left by 'n' places. 
It is similar to the multiplying 'm' by '2**y'. 
 
PREVIOUS NEXT
Tagged: #What #Python
ADD COMMENT
Topic
Name
2+2 =