Define the package as scipy.linalg import lu. Get input from user and print L and U matrix by 'print' . Define a package as "from scipy.linalg import lu_factor, lu_solve" and create the variable as 'X ...