Created
          May 25, 2017 02:49 
        
      - 
      
- 
        Save zenubis/16712f51c0a4b8d883a89414f8d4411f to your computer and use it in GitHub Desktop. 
  
    
      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
    
  
  
    
  | def round(n, m): | |
| return ((n+(m-1)) / m) * m | |
| for x in xrange(0,50): | |
| print x, "=>", round(x, 10) | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment