Created
November 14, 2014 15:22
-
-
Save benawad/dcaa9e5e7593cb1203c3 to your computer and use it in GitHub Desktop.
solution#2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
print "Enter a number and I will print that many decimal places of e" | |
places = int(raw_input('>')) | |
print str(math.e)[:places+2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment