how to initialize empty lists in every language python arr = [None]*n javascript / typescript const arr = Array(n).fill(null) c++ int arr[5];