Hacker News new | ask | show | jobs
by yen223 4873 days ago
It's better to use two underscores __ to represent throwaway variables, because _ has a meaning in Python: it returns the last output.
1 comments

True, but only in the REPL.

For example try to run the following script (not from the REPL):

  _ = 12
  print _
  42 * 42
  print _