Ответ:
array = [[True, False, True], [False, True, True], [True, False, True]]
for i, row in enumerate(array):
print(f"Row {i}: ", end="")
for j, value in enumerate(row):
if value:
print("*", end=" ")
else:
print(" ", end=" ")
print()
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
array = [[True, False, True], [False, True, True], [True, False, True]]
for i, row in enumerate(array):
print(f"Row {i}: ", end="")
for j, value in enumerate(row):
if value:
print("*", end=" ")
else:
print(" ", end=" ")
print()
Объяснение: