Complete the code to assign the value 10 to the variable x.
x [1] 10
The single equal sign = is used to assign a value to a variable in Python.
Complete the code to add 5 to the variable count using augmented assignment.
count [1] 5
The += operator adds the value on the right to the variable on the left and updates it.
Fix the error in the code to multiply the variable total by 3 using augmented assignment.
total [1] 3
The *= operator multiplies the variable by the value and updates it.
Complete the code to subtract 2 from score using augmented assignment.
score [1] 2
The -= operator subtracts the value on the right from the variable on the left and updates it.
Fill all three blanks to create a variable new_value that adds 4 to old_value and then multiplies by 2.
new_value [1] old_value [2] 4 new_value [3] 2
First, assign old_value + 4 to new_value using = and +. Then multiply new_value by 2 using *=.