Reversed Binary Numbers
This commit is contained in:
1
reversebinary.py
Normal file
1
reversebinary.py
Normal file
@@ -0,0 +1 @@
|
||||
print(int(f"{int(input()):b}"[::-1], 2))
|
||||
Reference in New Issue
Block a user