SyntaxFix
Write A Post
Hire A Developer
Questions
you can do it short like this:
matrix = [["A, B, C, D, E"]*5] print(matrix) [['A, B, C, D, E', 'A, B, C, D, E', 'A, B, C, D, E', 'A, B, C, D, E', 'A, B, C, D, E']]