text: #!/usr/bin/env python
  # -*- coding:utf-8 -*-
  # Author: Markus Döring
  
  
  # ==========
  # Excercises
  # ==========
  #
  # Try to fill in your own code at the [CODE] markers.
  # Interesting list methods
  # (http://docs.python.org/2/library/stdtypes.html#mutable-sequence-types):
  #       - list.append()
  #       - list.insert()
  #       - list.remove()
  #       - list.reverse()
  #       - list.sort()
  #       - list.count()
  
  
  ###############################################################################
  # a) Assign your own list of at least 4 integers to a variable `container,
  #    print it.
  
  print("a)")
  
  #[CODE]
  
  print("")
  
  
  ###############################################################################
  # b) Print out the length of the list (NOT: print(4)).
  
  print("b)")
  print("Length of the variable `container`:")
  
  #[CODE]
  
  print("")
  
  
  ###############################################################################
  # c) Sort the list and print it.
  
  print("c)")
  print("The list after sorting:")
  
  #[CODE]
  
  print("")
  
  
  ###############################################################################
  # d) Look at the following lines of code. What will the list look like at the
  #    end? Assign your guess to the variable `guess`.
  
  lst = ["blood", "sugar", "sex", "magick"]
  lst.sort()
  lst.reverse()
  lst.insert(2, "smurfs")
  lst.pop(1)
  
  guess = []  # [CODE]
  
  
  # don't worry about the stuff below right now, it just checks your result
  print("d)")
  
  if len(guess) > 0:
      failed = False
      if len(guess) != len(lst):
          print("FAIL: Your list is too {} to be correct".format(
              "short" if len(guess) < len(lst) else "long"))
          failed = True
      if not failed:
          for g, i in zip(lst, guess):
              if g != i:
                  print("FAIL: First incorrect item of your list: {}".format(i))
                  failed = True
                  break
      if not failed:
          print("CORRECT: Your guess is correct!")
  else:
      print("Not done yet.")
  