Guest User

http://codegolf.stackexchange.com/a/31702/8766

a guest
Jun 13th, 2014
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. Python 2.7.3 (default, Feb 27 2014, 19:58:35)
  2. [GCC 4.6.3] on linux2
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> a = 9<<9999999 # It does evaluate, this is not Haskell
  5. >>> from math import log
  6. >>> log (a , 10)
  7. 3010300.6098523256
  8. >>> a % (10**100)
  9. 9997586286278740367540838094810513505273431435049025848315287491754455345082150796980669011241992192L
  10. >>> a / (10**(3010300 - 100))
  11. 40724177878623601356283812004689183103119430746081012041599147164240046869266683093879026455090068706L
  12. >>>
Add Comment
Please, Sign In to add comment