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

problem with the instructions for 'Find all the substrings' in the Beginners Python course, part 3 #90

Open
aliciaJones opened this issue Dec 20, 2024 · 0 comments

Comments

@aliciaJones
Copy link

There is a problem with the instructions for one of the exercises in the Beginners Python course, part 3. Specifically, the instructions say 'all the substrings which are at least three characters long' when in fact both the example and the grading indicate that what is required is strings that are EXACTLY 3 chars long. Based on the instructions, the sample outputs below should have also included: mammo, mammot, mammoth, and moth.

Find all the substrings
Please make an extended version of the previous program, which prints out all the substrings which are at least three characters long, and which begin with the character specified by the user. You may assume the input string is at least three characters long.

Sample output
Please type in a word: mammoth
Please type in a character: m
mam
mmo
mot

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