On string Operation of js and python

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!

Sep.22,2021

int (a) > > 2

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36606-2c000.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36606-2c000.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?