Ответ:
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]matrix[0], matrix[1] = matrix[1], matrix[0]
Объяснение:
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]matrix[0], matrix[1] = matrix[1], matrix[0]Output:
[[4, 5, 6], [1, 2, 3], [7, 8, 9]]
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
matrix[0], matrix[1] = matrix[1], matrix[0]
Объяснение:
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
matrix[0], matrix[1] = matrix[1], matrix[0]
Output:
[[4, 5, 6], [1, 2, 3], [7, 8, 9]]