for i in range(1,10): # That's ok
for j in range(1,i+1): # Column
print(j,'*',i,'=',i*j,end='\t')
print()
i=1
while i<10: # That's ok
j=1
while j<=i: # Column
print(j,'*',i,'=',i*j,end='\t')
j+=1
print()
i+=1
If you have a better solution or have different opinions , You can say what you want , Jointly improve progress !
I'm also Xiaobai , Dare to ask questions , Let's discuss , Learn together and make progress !