Variables


During the first week I caught up on the basics of Python, with a focus on variables.


Variables should be properly formatted and appropriately named to correspond to the value they contain,  e.g. in camel case or snake case, and store the following values:

  •  Boolean - either true or false
  • Integer - whole numerical value
  • Float - Decimal value
  • String - sequence of characters, e.g. contained in ""

Values in variables can be changed on a local or a global scale, dependant on whether or not they are local to a function or stored globally in the program.