Skip to content

conversions speedup #3954

@Ksengine

Description

@Ksengine

binary_to_demical.py

we can simply convert binary to demical

int("      1010100    ", 2)

decimal_to_binary.py

>>> bin(500)
'0b111110100'
>>> bin(500)[2:]
'111110100'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions