별 찍기 - 21
[백준] 10996 - 별 찍기 - 21 (파이썬)
[백준] 10996 - 별 찍기 - 21 (파이썬)
2020.04.05N = int(input()) if N == 1: print('*') else: if N % 2 == 0: a = '* ' * (N//2) b = ' *' * (N//2) else: a = '* ' * (N//2) + '*' b = ' *' * (N//2) for i in range(N): print(a) print(b)