Skip to content

decimal_to_binary() should return identical values as bin() #1090

@cclauss

Description

@cclauss

def decimal_to_binary(num):

Please change decimal_to_binary() to return identical values as the Python builtin bin(). With doctests to prove it please.

@PatOnTheBack @Corruption13

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