fix(curriculum): python list comp step 9 typo (#53101)

This commit is contained in:
James
2024-01-11 05:04:15 +11:00
committed by GitHub
parent 12442a3b88
commit 332b1cd3ec

View File

@@ -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.