mas = [[1,2,3], [4,5,6], [7,8,9]]
for i in range(len(mas)):
print(f"{max(mas[i])} - максимальный элемент в {i+1} столбце")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
mas = [[1,2,3], [4,5,6], [7,8,9]]
for i in range(len(mas)):
print(f"{max(mas[i])} - максимальный элемент в {i+1} столбце")