Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use integers #21

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Use integers #21

merged 1 commit into from
Apr 28, 2024

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Oct 14, 2023

In Python 3, unlike in Python 2, a / b for two integers returns a float. That's why we do not have to explicitly use floats where integers make more sense (and are easier to read!).

@coveralls
Copy link

Coverage Status

coverage: 96.818%. remained the same when pulling 705230b on eumiro:integers into 5eb343a on cokelaer:master.

@cokelaer cokelaer merged commit 2259e53 into cokelaer:master Apr 28, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants