[Solved] What does *= mean in Python and why is it used over =? [duplicate]


That’s the same as:

bill = bill * 1.15

You could also do per example:

bill += 1.15

Which is the same as:

bill = bill + 1.15

solved What does *= mean in Python and why is it used over =? [duplicate]