-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[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
[Edit] Python: Operators #7323
Conversation
--- | ||
|
||
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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:
- Arithmetic
|
||
print(f"Is Equal: {is_equal}, Is Greater: {is_greater}") | ||
## Frequently Asked Questions |
There was a problem hiding this comment.
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
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
Co-authored-by: Codecademy-docs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
👋 @mamtawardhani 🎉 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. |
Description
[Edit] Python: Operators
Issue Solved
Closes #7241
Type of Change
Checklist
main
branch.Issues Solved
section.