Skip to content

Instantly share code, notes, and snippets.

@rethink-imcmahon
Created April 14, 2015 15:35
Show Gist options
  • Save rethink-imcmahon/e148553728e83b1c1b29 to your computer and use it in GitHub Desktop.
Save rethink-imcmahon/e148553728e83b1c1b29 to your computer and use it in GitHub Desktop.
Useful Time-based-random Zero error
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