Program to Print a Matrix | Pythonprogramming #15

Published: 09 December 2022
on channel: RPP Coder
418
16

Program to print a Matrix
r = int(input("Enter no. of rows = "))
c = int(input("Enter no. of column = "))
matrix = []
print("Enter Elements = ")
for input
for i in range(r):
a = []
for j in range(c):
a.append(int(input()))
matrix.append(a)
for output
for i in range(r):
for j in range(c):
print(matrix[i][j] , end=" ")
print()


On this page of the site you can watch the video online Program to Print a Matrix | Pythonprogramming #15 with a duration of hours minute second in good quality, which was uploaded by the user RPP Coder 09 December 2022, share the link with friends and acquaintances, this video has already been watched 418 times on youtube and it was liked by 16 viewers. Enjoy your viewing!