Skip to content

Instantly share code, notes, and snippets.

@MOOOWOOO
Created April 11, 2019 02:23
Show Gist options
  • Save MOOOWOOO/6d882fad69b0bc584a7194e002ee8579 to your computer and use it in GitHub Desktop.
Save MOOOWOOO/6d882fad69b0bc584a7194e002ee8579 to your computer and use it in GitHub Desktop.
for t in range(130000, 140000, 100):
if int(str(t)[2]) > 5:
break
for i in range(t, t+100, 3):
if int(str(i)[-2]) > 5:
break
print('elif {} < int_time <= {}:'.format(i, i + 3))
print("\tres = {} if align == 'floor' else {}".format(i, i + 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment