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

Errors found in functions #270

Open
despadam opened this issue Nov 28, 2024 · 5 comments · May be fixed by #273
Open

Errors found in functions #270

despadam opened this issue Nov 28, 2024 · 5 comments · May be fixed by #273
Labels
basic tutorial bug Something isn't working nov2024

Comments

@despadam
Copy link
Contributor

despadam commented Nov 28, 2024

See remaining issues from #251

Also see #269 about exercises on scopes.

@despadam
Copy link
Contributor Author

In calculate basic area fix text description that we expect 6.0 instead of 6.00 because the test will check for 1 digit only.

@edoardob90 edoardob90 added the bug Something isn't working label Nov 28, 2024
@edoardob90
Copy link
Member

In Exercise 2, we should specify that we are always dealing with floats, never integers. Fix the example line:

Example: length=2, width=3, unit="m" should return "60000.0 cm^2" (because 2m × 3m = 6m² = 60000cm²)

to

Example: length=2.0, width=3.0, unit="m" should return "60000.0 cm^2" (because 2m × 3m = 6m² = 60000cm²)

@despadam

This comment was marked as resolved.

@edoardob90

This comment was marked as resolved.

@edoardob90
Copy link
Member

In Exercise 2: in the text (part 2 and 3), make it clear that the default unit is always cm

@edoardob90 edoardob90 linked a pull request Nov 28, 2024 that will close this issue
@edoardob90 edoardob90 linked a pull request Nov 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
basic tutorial bug Something isn't working nov2024
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants