Ask Question

The assignment symbol can be combined with the arithmetic and concatenation operators to provide augmented assignment operations.

+2
Answers (1)
  1. 4 September, 13:55
    0
    Yes, we can.

    Explanation:

    We can combine with the arithmetic and the concatenation operators to provide augmented assignment operations in the programming language Python.

    This mean we can abbreviate expressions like n = n + 1

    For example:

    n + = 10 this is equal to n = n + 10

    n + = "example" this is equal to n = n + "example"

    In this example we have

    variable = variable operator expression equal to variable operator = expression.

    These arguments are often used in Python's loops.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The assignment symbol can be combined with the arithmetic and concatenation operators to provide augmented assignment operations. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers