Replying to
@blinry@chaos.social ruby's irb and python have the same feature with the _ variable!
IRB:
irb(main):001> 5 + 2
=> 7
irb(main):002> _
=> 7
Python also seems to avoid overriding _ when your statement returns None:
>>> 5 + 2
7
>>> _
7
>>> print("hello world")
hello world
>>> _ # still 7!
7
>>> None
>>> _ # still 7!
7