tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
18
Task/Binary-digits/Python/binary-digits-1.py
Normal file
18
Task/Binary-digits/Python/binary-digits-1.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
>>> for i in range(16): print('{0:b}'.format(i))
|
||||
|
||||
0
|
||||
1
|
||||
10
|
||||
11
|
||||
100
|
||||
101
|
||||
110
|
||||
111
|
||||
1000
|
||||
1001
|
||||
1010
|
||||
1011
|
||||
1100
|
||||
1101
|
||||
1110
|
||||
1111
|
||||
Loading…
Add table
Add a link
Reference in a new issue