The issue here is this part:
for _ in range(a):
array = list(map(int, input("Enter %s'st array"%k).split()))
Every time you assign to array you overwrite the previous value that you stored. In order to keep all the arrays you create, you'll have to keep them in a separate list. Try something like this:
arrays = list()
for i in range(int(a)):
arrays.append(list(map(int, input("Enter %s'st array" % (i + 1)).split())))
for array in arrays:
print(array)
EDIT: You also weren't incrementing k, which means "Enter 1'st array" would come up for every prompt. Since you are in a loop anyway, you can use the loop variable (I have added this in as i) as the number in this prompt. You have to add 1 so that it starts at 1 and goes up, rather than starting at 0. Thanks for spotting that @accdias.
Also, you need to pass an integer to range(), and when you get input from the command line it will come in as a string. So, just call int() on it before passing it to range. I have edited the code above to reflect this.