title: Python - how to get nan
body: <p>I know I can get nan in Python by </p>
  
  <pre><code>&gt;&gt;&gt;float("nan")
  nan
  </code></pre>
  
  <p>But is there any other way of getting it without "nan"? Like in Javascript, I can do</p>
  
  <pre><code>&gt;"something"-1
  NaN
  </code></pre>
  
  <p>Can I do something simillar in Python?
  Thanks.</p>