4. Implement the following function in the PyDev module functions.py and test it from a PyDev module named t04.py: HUMAN
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
4. Implement the following function in the PyDev module functions.py and test it from a PyDev module named t04.py: HUMAN
4. Implement the following function in the PyDev module functions.py and test it from a PyDev module named t04.py: HUMANIE 1 2 3 4 5 6 7 8 9 10 11 12 13 def print_matrix_char(matrix): Sample execution: 1 matrix = generate_matrix_char(3, 4) 2 OHN OFFI print_matrix_char(matrix) 0 Prints the contents of a 2D list of strings in a formatted table. Prints row and column headings. Use: print_matrix_char(matrix) a Parameters: matrix - a 2D list of strings (2D list) Returns: None. n h 1 h X h NHCE 2 r g n 3 n m X