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

8. A pattern of being late for work or for appointments is usuallyA. a habit learned early, which is nearly impossible to break.B. directly related to one's per
a couple wants to install a square mirror that has an area of 500 square inches.to the nearest tenth of an inch,what length of wood trim is needed to go aroun
Explain why a mixed number is not in the set of intergers or whole numbers
What is square root of 126 + square root of 56 in standard form
Natalie picked 135 berries in 15 minutes. If she continues picking at that rate, how long will it take her to pick 486 berries?
three consecutive even integers have a sum of 168. what's the value of the largest integer?
what are some fun facts on animal and plant cells.
What are the natural resources in venice,italy?
Is 0.127 a rational number
How did the formation of alliances affect the outbreak of war?