Skip to content

Bug: miles_to_km divides instead of multiplies #4

Open

Description

@codepiyusss

Description

miles_to_km(1) returns about 0.62 instead of 1.609344.

Where

fixit/convert.py, test: test_miles_to_km

Acceptance criteria

  • Conversion is correct
  • xfail marker removed from the test

How to contribute

Comment on this issue to claim it, then follow CONTRIBUTING.md. If a related xfail test exists, remove its marker in your PR.

Activity

  1. paulobitas commented on Oct 13, 2026

    @paulobitas

    I'd like to work on this.

  2. paulobitas commented on Oct 13, 2026

    @paulobitas

    Problem was solved before any change. Can't make a PR to solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething returns a wrong resulteasyEasy difficultygood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions