Can someone explain line 4? I understand the loops, but can quite figure out what line 4 is doing. thanks for any help here.
print("this program draws a horizontal bar graph")
n=input("enter the number of digits. \nn=")
n=int(n)
x=[[" " for j in range(9)] for i in range(n)]
for i in range(n):
a=input("{} enter each digit:".format(i+1))
a=int(a)
for j in range(a):
x[i][j]="*"
for i in range(n):
for j in range (9):
print(x[i][j],"")