They are list slices:
content[:4]
I'm assuming you're familiar with the concept of lists(/arrays). This syntax is a list slice, in this case the it returns elements 1-4 of the list. In fact, it gives indexes 0-3. Python counts from 0, and the 4 in the slice is non-inclusive. The slice is equivalent to [0:4]
-> items at indexes 0-4, non inclusive so as I said that means indexes 0-3
The same goes for:
content[19:]
This means it'll return every element from index 19 (20th item) to the end of the list. The starting value is inclusive so it is actually index 19, not 20
List slices return a list too.
List indexing, if you're interested is similar but uses just 1 number to get the index instead of that colon :
notation:
content[3]
Would give the 4th item (index 3) of the list, assuming it exists.