Adding to a variable

To increase the value of a variable, you can use the += symbol as follows:

>> myVariable += 5.
>> print(myVariable)

The value of myVariable is now 5.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset