Skip to content

[Term Entry] Python Keywords: return #6978

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

M-Edwards7
Copy link

@M-Edwards7 M-Edwards7 commented Jun 3, 2025

Description

  • Added the return term for Python
  • First contribution as part of Codecademy course

Issue Solved

Type of Change

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

- Initial commit
- Create return folder and return.md file
- Add template from the term entry template file

Issue: Codecademy#6970
- Update return.md to include Python's return keyword explanations
- Add examples demonstrating the use of return in functions
- Add a Codebyte Example section for practical understanding

Issue: Codecademy#6970
@CLAassistant
Copy link

CLAassistant commented Jun 3, 2025

CLA assistant check
All committers have signed the CLA.

@mamtawardhani mamtawardhani self-assigned this Jun 3, 2025
@mamtawardhani mamtawardhani linked an issue Jun 4, 2025 that may be closed by this pull request
3 tasks
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for a second review! 🚀

@M-Edwards7
Copy link
Author

Should I edit the second example to clarify that the function with multiple values returns a tuple?

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

Successfully merging this pull request may close these issues.

[Term Entry] Python Keywords: return
3 participants