标签:bsp code while rgb div python sep form pre
i = 1
while i <= 9: i += 1 j = 1 while j <= i-1: print("{}*{}=".format(j,i-1),j*(i-1),sep=‘‘,end=‘ ‘) j += 1 print(‘‘) for i in range(1,10): for y in range(1,i+1): print(‘{}*{}=‘.format(y,i),y*(i),end=‘ ‘,sep=‘‘) print(‘‘) for i in range(1,10): for y in range(1,i+1): print(‘{}*{}={}‘.format(y,i,y*i),end=‘ ‘,) print(‘‘)
标签:bsp code while rgb div python sep form pre
原文地址:https://www.cnblogs.com/director/p/14395302.html