Solve problem "Scale a matrix" online - Learn Python 3 - Snakify

Scale a matrix


Statement

Given two positive integers \( m \) and \( n \), \( m \) lines of \( n \) elements, giving an \( m \times n \) matrix \( A \), followed by one integer \( c \), multiply every entry of the matrix by \( c \) and print the result.
Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().