Files
CodeObject/storage/zeta/py/completed/10996.py

15 lines
304 B
Python

N = int(input())
for i in range(N):
for j in range(N):
if j % 2 == 0:
print("*", end='')
else:
print(" ", end='')
print()
for j in range(N):
if j % 2 == 1:
print("*", end='')
else:
print(" ", end='')
print()