nRow=int(input("No. of rows: "))
nCol=int(input("No. of columns: "))
ch=input("Which characters? ") 
i=1 
j=1 
while j<=nCol: 
    while i<=nRow: 
        print(ch, end='') 
        i=i+1 
    print(ch, end='') 
    j=j+1
Here I tried my best to make a column and row in while loops, but it just didn't work out. When I input row and column numbers, they just gin one row. Like (Rows:2 Columns:3 characters:a), I expected to get like a table with 2 rows and 3 columns, but I got just - aaaaa.
 
     
     
    