Skip to content

Commit 864856e

Browse files
authored
Update 773-string-bin.markdown
1 parent 1d5bea7 commit 864856e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_build/reference/773-string-bin.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
Returns the binary value of x as string.
66

77
```
8-
print bin(123)
8+
print hex(255) ' output: FF
9+
print bin(8) ' output: 1000
10+
print oct(16) ' output: 20
911
```

0 commit comments

Comments
 (0)