Created
November 19, 2016 13:14
-
-
Save mverleg/9f4c85c517c4318b2eb92eb299306691 to your computer and use it in GitHub Desktop.
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
# python 3 + numpy | |
from numpy import iinfo, int64 | |
q = iinfo(int64).max // 2**10 | |
q_lim = q + 3 | |
while q < q_lim: | |
print('hello') | |
q += 1. | |
# how many "hello"'s will be shown? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution: https://gist.github.com/mverleg/8adb220c64d113fe8b8c093f1d69572a