Python-Understanding-HackerRank

Lists

  1. One of the built-in data types in Python other than Tuple, Dictionary and Set.
  2. Used to store multiple values in a single variable.
  3. makes the code shorter by many lines since the system will allocate the list's memory first and not resize 'n' no. of elements at runtime.
  4. are created using square brackets with elements separated with commas