4/8 A Tuple contains multiple items like a list.
The big difference is that a Tuple is immutable.
Which basically means you can’t change the values in a tuple
Unlike a list which is mutable or changeable
7/8 The while loop is like the for loop, but works slightly different
The for loop executes a piece of code IF the condition is valid
The while loop continues the loop as long as a condition is valid
1/13
By default django doesn’t create a urls.py file in django app folder, so we need to do that manually
2/13
Now that we have created our app and linked it to our project
We can create the location and content of our page
Lets go to views.py for the content
1/ 19 Variables are used to store information, so that they can be used later on in your code.
In Python a ‘string’ is text and a ‘integer’ or ‘float’ is a number
‘car_brand’ and ‘brand_type’ are variables in the example below
Variables can be stored inside other variables
2/19
No special signs are allowed to be used in the name of variables, except for ‘_’ like.
Numbers are allowed in the name of a variable, but not at the start
So ‘1car’ is not OK and ‘car1’ is OK.