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

Conteste la siguiente pregunta. ¿Cuándo tienes que entregar tu tarea de geografía? • A. Sí, quiero estudiar geografía. • B. Tengo que entregársela a mi profesor
NEED HELP ASAP !!! Simplify: √16r O 47² O 473 87² O 8-3
please help!!! picture below
Once submitted, who can cancel an enrollment application before the effective date?.
Factors affecting photosynthesis Leaf covered with aluminium foil
when a leader is competent what is he?
please help i just started summer school online Part F Several minutes later, Raul decides to measure the water temperature again. He finds that the temperature
In analyzing a persuasive speech, it is helpful to determine the speaker's credentials, the speaker's bias, and A. the speaker's purpose. B. how long the speech
someone please help me
Evaluate the expression. -2(12 - 2 (-4))² What is the value of the expression? Enter your answer in the box.