HINT: when in doubt look at the BNF! [ Expressions in c.syntax ] and in particular [ Bitwise%20Expressions in c.syntax ] for the last program.
Python interpreters execute expressions that you type. Try this
pythonthen input half a dozen expressions including these (From examples above)
5 + 6.6 / 2.2 * 0.5
1+2*3&4/5|6^7&10Does Python use the same, similar, very different rules to C? You can look at [ ../../samples/python.syntax.html#Expressions ] to get some help.
The new page should have links to the source code of some of the sample programs -- with any changes you made. It should explain what is going on in the programs.
It should be linked to your home/index page.
Deadline: End of the laboratory.
If you finish the 4 programs early: What do you make of [ ../expressions.html ] ?
Grading: how much did you get done.