Python - Operators and Expression Evaluation
Which of the following statements correctly uses augmented assignment to multiply x by 3?
Which of the following statements correctly uses augmented assignment to multiply x by 3?
*= multiplies the variable by a value and assigns the result back.x *= 3, which is the correct augmented assignment for multiplication.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions