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

part06-08_recipe_search exercise issue #93

Open
pzuvela opened this issue Dec 11, 2024 · 1 comment
Open

part06-08_recipe_search exercise issue #93

pzuvela opened this issue Dec 11, 2024 · 1 comment

Comments

@pzuvela
Copy link

pzuvela commented Dec 11, 2024

Hi all,

There is an issue with the "part06-08_recipe_search" Recipe search exercise. recipes2.txt file contains an empty space at the end of the file. recipes1.txt file does not have the extra space.

Description of the exercise says:
"Each recipe consists of three or more lines. The first line has the name of the recipe, the second line contains an integer number representing the preparation time in minutes, and the remaining line or lines contain the ingredients used, one on each line. The recipe ends with an empty line, with the exception of the final recipe in the file which just ends with the end of the file. So, there can be more than one recipe in a single file, like in the example below."

With the empty space at the end of file recipes2.txt my code fails to pass the last test. I can try to work around this to pass the test.

image

Thank you

@pzuvela
Copy link
Author

pzuvela commented Dec 12, 2024

I managed to write a solution that passes the tests. But, the description is still a bit misleading.

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

1 participant