# Lab 1, Task 3 1. course = course + 1 # first, the right-hand side is evaluated: /\ 111 + 1 # course is replaced with its current value \ 112 # the addition is carried out ---------+ # then, the final value is assigned back to course print('maybe you will take CS', course, 'next semester') | | | | | | # expressions are evaluated V V V 'maybe you will take CS' 112 'next semester' # Then, the final values of the expressions are displayed, separated # by spaces. The quotes surrounding the strings are not displayed: maybe you will take CS 112 next semester 2a. weeks (without the quotes) is a variable. 'weeks' is a string. 2b. It prints 5 because we're using integer division (//), which truncates anything after the decimal in the result. 2c. days / 7 3-5: see the separate solutions for lab1task2.py