About 2,330,000 results
Open links in new tab
  1. What does the "at" (@) symbol do in Python? - Stack Overflow

    Jun 17, 2011 · What does the “at” (@) symbol do in Python? In short, it is used in decorator syntax and for matrix multiplication. In the context of decorators, this syntax: @decorator def decorated_function(): """this function is decorated""" is equivalent to this:

  2. Python Operators - W3Schools

    Operators are used to perform operations on variables and values. In the example below, we use the + operator to add together two values: Python divides the operators in the following groups: Arithmetic operators are used with numeric values to perform common mathematical operations: Assignment operators are used to assign values to variables:

  3. Python Operators - GeeksforGeeks

    Mar 7, 2025 · In Python programming, Operators in general are used to perform operations on values and variables. These are standard symbols used for logical and arithmetic operations. In this article, we will look into different types of Python operators. OPERATORS: These are the special symbols. Eg- + , * , /, etc.

  4. Python Operators Cheat Sheet - LearnPython.com

    May 27, 2024 · Python operators are special symbols or keywords used to perform specific operations. Depending on the operator, we can perform arithmetic calculations, assign values to variables, compare two or more values, use logical decision-making in our programs, and more.

  5. What Is the @ Symbol in Python? - GeeksforGeeks

    Sep 25, 2023 · In Python, the “@” symbol is primarily associated with decorators. Decorators are a powerful and flexible way to modify or extend the behavior of functions or methods without changing their code. They are often used for tasks such as logging, authentication, and performance monitoring.

  6. What Is the @ Symbol in Python? | Built In

    Mar 18, 2025 · What Is the @ Symbol in Python and How Do I Use It? The @ symbol in Python is used to apply a decorator to a function or method to extend its functionality, or to help perform matrix multiplication. Here's what to know about each use case. Have you ever wondered what @property in Python means? Or what A @ B does?

  7. Python Operators (With Examples) - Programiz

    Operators are special symbols that perform operations on variables and values. For example, Here, + is an operator that adds two numbers: 5 and 6. Here's a list of different types of Python operators that we will learn in this tutorial. 1. Python Arithmetic Operators.

  8. Operators and Expressions in Python

    Jan 11, 2025 · Operators are symbols, combinations of symbols, or keywords that you can use along with Python objects to build different types of expressions and perform computations in your code. In this tutorial, you’ve learned: What Python’s arithmetic operators are and how to use them in arithmetic expressions

  9. Python Operators - Online Tutorials Library

    Python operators are special symbols used to perform specific operations on one or more operands. The variables, values, or expressions can be used as operands. For example, Python's addition operator (+) is used to perform addition operations on two variables, values, or expressions. The following are some of the terms related to Python operators:

  10. Python Operators Guide - TechBeamers

    Apr 18, 2025 · What is an operator in Python? Python operator is a symbol represented by a special character, gets the input from one or more operands, and performs a specific task. Like many programming languages, Python reserves some special characters for acting as operators.

  11. Some results have been removed
Refresh