I\'ve been trying to find a way to implement the _ variable from python shell into a script. This variable stores the last solution, like the ans varia
_
ans