ananthakrishnan15.2001ï¼ gmail.com wrote: > binary.twos_complement(0b0011)==1101 > binary.twos_complement(0b00000011)==11111101
How would you make that possible, when `0b0011` and `0b00000011` are the exact same integer? _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KPE3GZNVI63CXYQW3KGA2KUQM4TLAJDY/ Code of Conduct: http://python.org/psf/codeofconduct/