js代碼:var a = '123';console.log(a >> 2); // result : 30python(3)代碼:a = '123'print(a >> 2) # TypeError: unsupported operand type(s) for >>: 'str' and 'int'請問一下位各位大佬:如何把上面這段js翻譯成python ? 謝謝!
關于js和python的字符串運算
蝴蝶刀刀
2018-11-13 21:29:05