Created
April 14, 2015 15:35
-
-
Save rethink-imcmahon/e148553728e83b1c1b29 to your computer and use it in GitHub Desktop.
Useful Time-based-random Zero error
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
Copyright (c) 2013-2015, Rethink Robotics | |
All rights reserved. | |
import time | |
if round(time.time() % 2): | |
foo = 10 / 0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment