Renaming the '_' variable in Python
问题 I recently learned about the builtin variable _ in the python shell, the purpose of which is to store the last console answer. For example: >>> 4 + 7 11 >>> _ 11 >>> Test = 4 >>> Test + 3 7 >>> _ 7 Being a longtime TI-Basic programmer, I'm far more comfortable with thinking of this variable as Ans instead of _ . (Yes, I know it's merely personal preference, but it's an interesting question in any case.) Question: How do I set up my Ans variable so that its value is always the same as the _