Write a Python script to generate a random 3 X 3 matrix of integers in the range [1, 9].
Not applicable
import random

# Generate a random 3 X 3 matrix of integers in the range [1, 9].
matrix = [[random.randint(1, 9) for _ in range(3)] for _ in range(3)]

for row in matrix:
 print(row)