SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from math import *
  2. import sys
  3.  
  4. def circle(x):
  5.     print 2 * (x % pow(2, floor(log(x, 2))))
  6.  
  7. if __name__ == "__main__":
  8.     circle(float(sys.argv[1]))
RAW Paste Data
Challenge yourself this year...
Learn something new in 2017
Top