-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update Python Content #2979
Update Python Content #2979
Conversation
Move single-line commands from multiple lines back to a single line as we now wrap code blocks
Changelog
|
Insight
Changelog
|
Insight
Changelog
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪
…s-that-span-multiple-lines-back-to-a-single-line-in-Python
Insight
Changelog
|
1 similar comment
Insight
Changelog
|
Changelog
|
…s-that-span-multiple-lines-back-to-a-single-line-in-Python
Changelog
|
…s-that-span-multiple-lines-back-to-a-single-line-in-Python
@@ -65,8 +63,7 @@ print(s.find_longest_match(0, 5, 0, 9)) | |||
Complete the `SequenceMatcher` constructor such that empty spaces are treated as junk: | |||
|
|||
```python | |||
s = SequenceMatcher(??? x: x == ???, | |||
“ abcd”, “abcd abcd”) | |||
s = SequenceMatcher(??? x: x == ???, “ abcd”, “abcd abcd”) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The quotes here look different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR that changes the quotes is this one
EDIT: All changes are moved to PR per Folder in both Python courses
Move single-line commands from multiple lines back to a single line as we now wrap code blocks
Also fix incorrect indentation in some insights. Example:
Where the comment is slightly more indented and the method and its code are indented with 4 spaces, then in the following insight (in some case the very same insight) the indentation would look like this:
which is only 2 spaces.
I am going to go for the 2 spaces one as that would make less wrapping between code blocks