co 0 dla tablicy oznacza Python

It just means a one element list containing just a 0. 
Multiplying by memloadsize gives you a list of memloadsize zeros.
Code4Blessings