Visual Basic Left Function Python Format Number As Hex