bin()
Returns binary representation of a number.
Syntax:
variable
= bin(
number
)
variable
= bin$(
number
)
Example:
print
bin(
3
)
print
bin(
7
)
print
bin(
9
)
will print on console 11, 111, 1001