kristianhkr6208 kristianhkr6208
  • 02-01-2020
  • Computers and Technology
contestada

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

Respuesta :

colocho08
colocho08 colocho08
  • 10-01-2020

Answer:

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.

Answer Link

Otras preguntas

HELPPPP Which of the following is a solution of x2 + 5x = -2? (2 points)
M is the midpoint of the segmant:CF use the coordinates C(3,4) and F(9,8) to find the coordinates of M.
Bob sets the price of the plants according to their height in inches. A plant that is 9.5 inches high costs $2.28 in his store. What is the price per inch of a
5.) The two figures below have the same perimeter. Set up and solve an. equation to find the value of x. Write your answer as a decimal. * 12x 12x 6x + 9 12x X
-5x+ 10 = =5y Slope-Intercept Form
PLZZZ HELP i need an answer for this in like the next 8 minutes or i will fail plz help
The LCM of 11, 8, and 12 is
Can someone help meee I’m struggling
write 2,046,708 in words​
Cavy Company estimates that total factory overhead costs will be $660,000 for the year. Direct labor hours are estimated to be 100,000. a. Compute the predeter