length = int(input('Enter the length of the multi dimensional list'))
height = int(input('Enter the height of the multi dimensional list'))
list1 = []
for i in range(0,length):
list2 = []
for j in range(0,height):
a = input('Enter the elements %s of line %s in list'%(i+1,j+1))
list2.append(a)
list1.append(list2)
print('The multi dimensional list is %s'%list1)