js Code:
var a = "123 console.log;
console.log (a > > 2); / / result: 30
python (3) Code:
a = "123"
print(a >> 2) -sharp TypeError: unsupported operand type(s) for >>: "str" and "int"
I would like to ask all the bosses:
how to translate the above js into python? Thank you!