This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def to_print(object): | |
| for i in range(len(object)): | |
| print(object[i]) | |
| def bin_n_bit(dec,n): | |
| return(str(format(dec,'0'+n+'b'))) | |
| def bin_8bit(dec): | |
| return(str(format(dec,'08b'))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #forward_build | |
| set_0=['00000','00101','01011','01010', | |
| '10110','10111','10001','10100', | |
| '01101','01000','01110','01111', | |
| '00011','00010','01100','01001', | |
| '11010','11101','10011','10000', | |
| '11100','11111','11001','11110', | |
| '00110','00001','00111','00100', | |
| '11000','11011','10101','10010'] |
OlderNewer