initialize array with 0 in python code example Example: python init array with zeros buckets = [0] * 100