So far, I have:
def printSquare(x,y):
for z in range(0,x):
print(x*y)
printSquare(3,'%') prints out something like this:
%%%
%%%
%%%
instead of using the '*' operation, is there a way to print x numbers of y separated by commas (for better spacing) ie: print(y,y,y)?