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

Where is the Persian Gulf? A. east of the Arabian Peninsula B. south of the Arabian Peninsula C. west of the Arabian Peninsula D. north of the Arabian Peninsula
what route did the Aryans take to the Indus valley ? need it for 2day   thankyou
What killed about one third of Europe’s population between 1347 and 1350? a. flu c. sunburn b. war d. Bubonic plague Dat sunburn death... It was the most tragic
how did Thucydides view war and politics?
6.29 rounded to a whole number
Three terms , 19-6x , 2 + 4x , 6x + 1, are in arithmetic progression . a) Calculate the value of x .
what is the slope-intercept form for the equation y-10=3/5(x-5)
how did Thucydides view war and politics?
Which of these is an example of competition between members of the same population in a community? A. A pride of lions chases away a pack of hyenas trying to
X+3y=5 -2x-6y=-10 Solve using elimination