Saturday, September 10, 2011

An e for a big elephant

Don't be confused with your e and there e in Python. I merely missed that, and thought to keep a self note.

  1. >>> e = 1.1
  2. >>> print(e * 2)
  3. 2.2
  4. >>> print(1e1)
  5. 10.0
  6. >>> epart1 = "e for big elephant is different from"
  7. >>> epart2 = " e in the middle of two numbers"
  8. >>> epart1 + epart2
  9. 'e for big elephant is different from e in the middle of two numbers'