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 input_output #272

Open
despadam opened this issue Nov 28, 2024 · 8 comments
Open

Errors found in input_output #272

despadam opened this issue Nov 28, 2024 · 8 comments
Labels
basic tutorial bug Something isn't working nov2024

Comments

@despadam
Copy link
Contributor

No description provided.

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

Remove the "Note" box at the very beginning: it mentions Functional Programming, which has been moved to the Advanced Tutorial

@despadam
Copy link
Contributor Author

Also remove explanation with __str__

@despadam
Copy link
Contributor Author

despadam commented Nov 28, 2024

We forgot a %%ipytest debug in "Exercises on string input and output"

@despadam
Copy link
Contributor Author

The pass statement is confusing them here. Revert to using return in the exercises that should return something, so that they modify that line. Otherwise if the function only needs to print something, then leave it empty with no pass statement.

@edoardob90
Copy link
Member

General comment: there are a few things that seem a bit "too much" for a beginner. Examples:

  • The with keyword (and context managers)
  • The next keyword, when dealing with CSV

@Snowwpanda
Copy link
Collaborator

  • Test find all files tests on th path /data instead of tutorial/tests/data as specified in the exercised

@edoardob90
Copy link
Member

edoardob90 commented Nov 28, 2024

In exercise 2 of "Exercises on file writing" solution_read_write_file, we don't ask to remove newlines from each line read, so even a correct solution fails if there's no line.strip().

Also, we should specify that each new line should be terminated with \n

@Snowwpanda
Copy link
Collaborator

  • exercise 1 will not show a solution? may be a general bug

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

No branches or pull requests

3 participants