js代码:var a = '123';console.log(a >> 2); // result : 30
python(3)代码:
a = '123'print(a >> 2) # TypeError: unsupported operand type(s) for >>: 'str' and 'int'
请问一下位各位大佬:
如何把上面这段js翻译成python ? 谢谢!
哈士奇WWW
相关分类