Lab Description: Prints the number 5 and adds the variable x which in this case is equal to 5 to the expression x + 1
This is Exercise 2 the following statements were written in the Python interpreter to see what they do:
5
x = 5
x + 1
This is what they do:
The same statements into a script:
This is the Output: