You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typo in Variable Name: "weapon.strip()" Should Be "fruit.strip()" in List Comprehensions Example #105
In the function test_list_comprehensions(), under the list comprehension that cleans up whitespace from a list of fruit names, the variable weapon is used instead of a more context-appropriate name such as fruit. This can be confusing for readers and may lead to misunderstandings, as the list is called fresh_fruit and contains fruit names.
Activity
Fix variable name: weapon -> fruit in list comprehension example (tre…
xy769 commentedon May 11, 2026
Hi @trekhleb, just checking in on this PR — is there anything I can do to help get it merged? Happy to make adjustments if needed. Thanks!