Skip to content

Instantly share code, notes, and snippets.

@mverleg
Created November 19, 2016 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mverleg/9f4c85c517c4318b2eb92eb299306691 to your computer and use it in GitHub Desktop.
Save mverleg/9f4c85c517c4318b2eb92eb299306691 to your computer and use it in GitHub Desktop.
# 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?
@mverleg
Copy link
Author

mverleg commented Nov 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment