Assignment Operators Flashcards

1
Q

Are used to assign a value to a variables or any values that
we have in Python.

A

Assignment Operators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Assigns values from the right side operand to left side
operand. =

A

AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It adds right operand
to the left operand and assign the
result to left operand. +=

A

Add AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It subtracts right
operand from the left operand and
assign the result to left operand. -+

A

Subtract AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It multiplies right
operand with the left operand and
assign the result to left operand. *=

A

Multiply AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It divides left
operand with the right operand
and assign the results to left
operand. /=

A

Divide AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It takes modulus
using two operands and assigns
the result to left operand. %

A

Modulus AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Performs
exponential (power) calculation on
operators and assigned value to
the left operand. **=

A

Exponent AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

It performs
floor division on operators and
assign value to the left operand. //=

A

Floor Division AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly