# 打印如下图案 '''0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 ''' for x in range(5): for y in range(5): print(x, end='\t') print() # 本次循环结束换行