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

Commits on Jan 23, 2019

  1. episode 05 - another way to get start of string

    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.
    tj-sun committed Jan 23, 2019
    Copy the full SHA
    666dd23 View commit details
    Browse the repository at this point in the history