Skip to content

Docs: Describe the Length of Last Word solution - #306

Merged
Huerte merged 1 commit into
Huerte:mainfrom
iamdatvt94:docs/practice128-last-word-docstring
Nov 18, 2026
Merged

Huerte merged 1 commit into
Huerte:mainfrom
iamdatvt94:docs/practice128-last-word-docstring

Conversation

@iamdatvt94

Copy link
Copy Markdown
Contributor

Summary

Add a one-line docstring to get_length in solutions/python/practice128.py. It explains that the function returns the length of the last whitespace-separated word.

Related issue

Refs #298 (docstring for practice128.py).

Verification

Ran python solutions/python/practice128.py. Both existing examples returned 5. Checked that the function body is unchanged apart from the docstring.

AI disclosure

I used OpenAI Codex (GPT-6.2 Sol) to assist with the change, verification, and PR description.

Add a one-line docstring to get_length in practice128.py so readers can see what the function returns before reading the implementation.

Refs Huerte#298.
@Huerte
Huerte merged commit f0a68c4 into Huerte:main Nov 18, 2026
1 check failed
@github-actions

Copy link
Copy Markdown
Contributor

@iamdatvt94 thank you for your first contribution! Appreciated a lot.

Your avatar is now in the contributors section. The README updates automatically after every merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants