Created
May 3, 2020 11:00
-
-
Save raeq/1862051ba9dbf054b0d7bf3b21c7913c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from decimal import * | |
setcontext(BasicContext) | |
i:Decimal = Decimal(0.0) | |
for value in range(10): | |
i += Decimal(0.1) | |
print(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment