Hello

I completed the assignment problem that was given at the end of “Lists” session. A square matrix is given and asked to find out A^n. I will come to the implementation of it later but one syntax that was different between what I did and what was shown is solution is the following

temp_prod = [item for item in sq_mat] is what I used while in the assignment there is an extra “[:]” after the first item

The syntax that I used also worked for me and did not face any issues

Just wondering if both are correct

Thanks

Harish