What does *= mean in Python and why is it used over =?
What does *= mean in Python and why is it used over =?
Thats 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
Thats 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