OCR GCSE (9-1) Computer Science Scratch Explanation …

a_list.append(i) if len(a_list) > 3: a_list.remove(a_list[0]) ... You can also create lists of dictionaries to make use of immutable features of a dictionary. Even though the output shows 3 dictionaries with the same information in them, Python treats each one as a separate object. ... In this example we define a list of Monty Python characters ... ................
................