Mga paps baka alam nyo po kung paano gawin,paturo po sana ako,badly need po,tia
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.
n = 6
for row in range(n + 1):
for col in range(row):
if (row + col) % 2 == 0:
print('0', end=' ')
else:
print('1', end=' ')
print()
1
0 1
1 0 1
0 1 0 1
1 0 1 0 1
0 1 0 1 0 1