I am trying to create the following:
88888888
7777777
666666
.. and so on
Below is the code that I have written:
i = 8
for a in range(i):
for b in range(i):
print (str(i))
i = i - 1
with this code, I am getting the numbers on a new line. I want all the 8s on one line, all the 7s on one line, etc.