# nested loops = The inner loops will finish all of its iterations before finishing one iteration 
#                of the outer loop

rows = int(input('How many rows?: '))
columns = int(input('How many columns?: '))
symbol = input('Enter a symbol: ')

for i in range(rows):
    for j in range(columns):
        print(symbol, end="")
    print('')