python There are two ways to create an empty list of fixed length
Method 1
a = 10
x = [’’ for i in range(a)]
print(x)
#[’’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’]
Method 2
a = 10
x = [None]*a
print(x)
#[None, None, None, None, None, None, None, None, None, None]
Notice the difference between the two methods , One is an empty character , One is None