'''
Python 3
#!/usr/bin/env python
from __future__ import print_function
for i in range(1,9):
for j in range(1,9):
if i % 2 == 0:
if j % 2 == 0:
print("*", end=' ')
else:
print(" ", end=' ')
if j % 2 != 0:
print()
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
'''
Python 3
'''
#!/usr/bin/env python
from __future__ import print_function
for i in range(1,9):
for j in range(1,9):
if i % 2 == 0:
if j % 2 == 0:
print("*", end=' ')
else:
print(" ", end=' ')
else:
if j % 2 != 0:
print("*", end=' ')
else:
print(" ", end=' ')
print()