Skip to content

[Edit] Python: Operators #7323

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

Merged
merged 14 commits into from
Jul 22, 2025
Merged

Conversation

mamtawardhani
Copy link
Collaborator

Description

[Edit] Python: Operators

Issue Solved

Closes #7241

Type of Change

  • Editing an existing entry (fixing a typo, bug, issues, etc)

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.

@mamtawardhani mamtawardhani added enhancement New feature or request python Python entries status: under review Issue or PR is currently being reviewed labels Jul 11, 2025
---

Operators are used to perform various operations on variables and values. The standard arithmetic and assignment operators are the most familiar.
**Operators** in Python programming are special symbols or keywords that perform operations on variables and values. They are fundamental building blocks that allow developers to manipulate data, perform calculations, make comparisons, and control program flow. Python operators take one or more operands (values or variables) and produce a result based on the specific operation being performed.
Copy link
Collaborator

Choose a reason for hiding this comment

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

After this paragraph, add all the different operators either in the form of a list or in the form of table. @mamtawardhani

Copy link
Collaborator

@codecademy-docs codecademy-docs Jul 22, 2025

Choose a reason for hiding this comment

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

It could go something like -
There are seven different operators in Python:

  1. Arithmetic


print(f"Is Equal: {is_equal}, Is Greater: {is_greater}")
## Frequently Asked Questions
Copy link
Collaborator

Choose a reason for hiding this comment

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

Change the FAQs to more relevant PAA questions. @mamtawardhani

Copy link
Collaborator

@avdhoottt avdhoottt left a comment

Choose a reason for hiding this comment

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

LGTM!

@avdhoottt avdhoottt added status: review 1️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Jul 22, 2025
@avdhoottt avdhoottt merged commit 11f17bd into Codecademy:main Jul 22, 2025
7 checks passed
Copy link

👋 @mamtawardhani
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 Your contribution(s) can be seen here:

https://www.codecademy.com/resources/docs/python/operators

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

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

Successfully merging this pull request may close these issues.

[Edit] Python: Operators
3 participants