mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-13 16:04:36 -04:00
fix(curriculum): python list comp step 9 typo (#53101)
This commit is contained in:
@@ -7,7 +7,7 @@ dashedName: step-9
|
||||
|
||||
# --description--
|
||||
|
||||
Strings in camel case start with a capital character. Since you've converted all such characters to lowercase and prepended an underscore to them, chances are, the converted snake case string has a dangling underscode at the start.
|
||||
Strings in pascal case start with a capital character. Since you've converted all such characters to lowercase and prepended an underscore to them, chances are, the converted snake case string has a dangling underscode at the start.
|
||||
|
||||
The easiest way to strip such unwanted character is by using the `.strip()` string method and passing an underscore to the method as argument.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user