Report question

Question: Any way to assign terminal output to variable with python?