Skip to content

Excersise 4-13 broken for even length inputs. #7

@ikmckenz

Description

@ikmckenz

Any input with even length will not properly reverse the middle two characters.

For example, inputting 12 will output 12, inputting 1234 will output 4231, inputting 123456 will output 653421, etc.

Odd length inputs work as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions