Here's how this program works. First, we assign the literal constant value 5 to the variablei using the assignment operator (=). This line is called a statement because it states that something should be done and in this case, we connect the variable namei to the value5. Next, we print the value ofi using the print statement which, unsurprisingly, just prints the value of the variable to the screen.
The we add1 to the value stored ini and store it back. We then print it and expectedly, we get the value 6.Similarly, we assign the literal string to the variables and then print it.