Skip to content

strings/join.py is incorrect #12408

Closed
@osman-haider

Description

@osman-haider

Repository commit

3b1b70b

Python version (python --version)

Python 3.10

Dependencies version (pip freeze)

n/a

Expected behavior

s = ["", "", ""]
join(",", s) == ",".join(s)

',,' == ',,'

Actual behavior

s = ["", "", ""]
join(",", s) == ",".join(s)

'' != ',,'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions