We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5bea7 commit 864856eCopy full SHA for 864856e
_build/reference/773-string-bin.markdown
@@ -5,5 +5,7 @@
5
Returns the binary value of x as string.
6
7
```
8
-print bin(123)
+print hex(255) ' output: FF
9
+print bin(8) ' output: 1000
10
+print oct(16) ' output: 20
11
0 commit comments