Variables, sequential and conditional code structures in programming
(Example video covering the concepts, providing an overview of programming)
Variables
- What are the 4 common ways of writing variable names?
- Practise global & local variables (Py)
- see the top 2 examples
- run programs to see output
- in the top example
- change “Python is” to “This is a “+x+” variable”
- create new global variables y & z
- y = “This is a ” & z = ” variable”
- rewrite the expressions so there are only variables