0

x=5 x=x<<1 x=?

20th Jul 2020, 5:25 PM
Даниил Ташлыков
Даниил Ташлыков - avatar
2 ответов
+ 1
Binary left shift (<<) Binary value for 5 is 0b101 which is left shifted by 1 bit and becomes 0b1010 which is 10 in 0b101 ,0b is representation of binary number in python
20th Jul 2020, 5:30 PM
Abhay
Abhay - avatar
0
Thanks
20th Jul 2020, 5:32 PM
Даниил Ташлыков
Даниил Ташлыков - avatar