Python Scripts
Output
Enter the no. of rows of first matrix : 3
Enter the no. of columns of first matrix : 3
Enter the no. of rows of second matrix : 3
Enter the no. of columns of second matrix : 3
Enter the elements of the first matrix (separated by line):
1
2
3
4
5
6
7
8
9
Enter the elements of the second matrix (separated by line):
1
2
3
4
5
6
7
8
9
Result:
30 36 42
66 81 96
102 126 150
...Program finished with exit code 0
Press ENTER to exit console.