>>> y = [['' for i in range(3)] for j in range(3)] [['', '', ''], ['', '', ''], ['', '', '']] >>> y[0][0]=1 >>> print(y) [[1, '', ''], ['', '', ''], ['', '', '']]