Python *= operator

Continuing from What does *= do in python?

Can someone explain me what’s going on here? I checked the solution, I’ve read this thread and still I can’t do this exercise by me own, I cannot understand this *= thing. Was it ever mentioned before?

a = 6
print a
# 6

a *= 7
print a
# 42
1 Like

Ok, I get it now, thanks. Why is it being mentioned if it’s not even in official solution? This whole exercise is just terribly frustrating :frowning: