But there is a problem with (0b1101).

5==0b101
-5==-0b101

but we want output -5==1011.

so this is not possible by using integers with base designator "0b".
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/JF2M6KA5NWH743RBIGSDQMLHUE6OOUM4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to