for r in range(8): for c in range(r + 1): print('*', end='') print()