In exercise 2.2, I typed in the number 5. Then I assigned the variable x to 5 (x=5). Then I used an expression (x+1) to receive an output of 6.
Then I typed 5, x=5, x+1 in print form. The output was was the same integer, same assignment, and same expression excluding the print, paranthesis, and quotation marks.
In exercise 2.3, I assigned width to 17(width=17). I assigned height to 12.0(height =12.0). And I assigned a script ( ‘.’) to delimeter. I then used operators to give me an output of values such as: width/2 =8.5, height/3=12, and delimiter *5=(…..). Then I typed in the class of the output values.