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

episode 05 - another way to get start of string #611

Closed
wants to merge 1 commit into from

Conversation

tj-sun
Copy link

@tj-sun tj-sun commented Jan 23, 2019

Another way to compare the start of the string using list slicing.

This doesn't introduce any new conceptual burden as learners have already seen list slicing earlier.
I also think it's a more commonly used way to compare substrings, and also helps reinforces the concept of list slicing, which is very useful.

Another way to compare the start of the string using list slicing.

This doesn't introduce any new conceptual burden as learners have already seen list slicing earlier.
I also think it's a more commonly used way to compare substrings, and also helps reinforces the concept of list slicing, which is very useful.
@maxim-belkin
Copy link
Contributor

Thanks, @tj-sun. While this does not introduce any "new" material, this does break the flow of the explanation there (the sentence that starts with "But..." no longer refers to the statement that precedes it but to the one before it...).

@tj-sun
Copy link
Author

tj-sun commented Jan 24, 2019

Got it - that's a good point, we certainly shouldn't digress from the logic flow. Probably better that the instructor just brings this up when he/she sees fit.

Feel free to close this.

@maxim-belkin
Copy link
Contributor

How about, we start with this comparison and then mention startswith ?
CC @annefou

@maxim-belkin maxim-belkin added status:wait Progress dependent on another issue or conversation type:discussion Discussion or feedback about the lesson labels Jan 24, 2019
@annefou
Copy link

annefou commented Feb 17, 2019

@maxim-belkin I definitely like your last suggestion; and make it clear to the instructor that this can be raised if it fits the attendance (depending on your audience and questions raised).

@noatgnu noatgnu closed this Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:wait Progress dependent on another issue or conversation type:discussion Discussion or feedback about the lesson
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants