Guest User

Untitled

a guest
Oct 18th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. >>> from datetime import timedelta
  2. >>> d = timedelta(1,1,1,1,1,1,1)
  3. >>> (d.days, d.seconds, d.microseconds)
  4. >>> (8, 3661, 1001)
  5.  
  6. >>> from datetime import timedelta
  7. >>> d = timedelta(-1,-1,-1,-1,-1,-1,-1)
  8. >>> (d.days, d.seconds, d.microseconds)
  9. >>> (-9, 82738, 998999)
Add Comment
Please, Sign In to add comment