⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@prathamk11
Copy link

Description

Nested if statements allow you to check a condition inside another condition. They are useful when decisions depend on multiple factors, as the outer condition is evaluated first, and only if it is True does the inner condition get checked. This structure helps make your code more organized, avoids repeating checks, and supports more complex decision-making in a readable way.

Type of Change

  • Adding a new entry
  • Editing an existing entry (fixing a typo, bug, issues, etc)
  • Updating the documentation

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.

@CLAassistant
Copy link

CLAassistant commented Feb 3, 2026

CLA assistant check
All committers have signed the CLA.

@mamtawardhani mamtawardhani self-assigned this Feb 4, 2026
@mamtawardhani
Copy link
Collaborator

Hey @prathamk11, I'll have to lose this PR as this is on the main branch. If you plan to contribute to Codecademy Docs, please check the open issues and comment "Claim" on the one you want to work. Once a team member assigns that issue to you, you can raise a PR for that.

@mamtawardhani mamtawardhani added the invalid This doesn't seem right; not eligible for Hacktoberfest label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right; not eligible for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants