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

Matplotlib Exercise 6 #5

Open
T-Atalaia opened this issue May 27, 2024 · 1 comment
Open

Matplotlib Exercise 6 #5

T-Atalaia opened this issue May 27, 2024 · 1 comment

Comments

@T-Atalaia
Copy link

In this exercise the issue is that the instructions may be a bit misleading, for our coding habits. The instructions ask to...

Define the bin edges by creating a list between 40000 usd and 16000 usd with steps of 10000 usd

  1. It misses a '0' on '16000'. It should be '160000'.

  2. To create a list between 40000 and 160000 with steps of 10000, some would use list(range(40000, 160001, 10000)), so it includes '40000' and '160000' as first and last element of the list.
    However, to pass the asserts you must use list(range(40000, 160000, 10000)), excluding '160000'.

@majkah0
Copy link
Contributor

majkah0 commented Jun 20, 2024

Corrected.
It makes sense to exclude 160 000, this value should already go to the next bin.

@majkah0 majkah0 closed this as completed Jun 20, 2024
@majkah0 majkah0 reopened this Jun 20, 2024
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

No branches or pull requests

2 participants