| Total Complexity | 1 |
| Total Lines | 7 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import random |
||
| 2 | import binascii |
||
| 3 | |||
| 4 | |||
| 5 | def gen_string(length=8): |
||
| 6 | return '0b'+''.join([random.choice(['0', '1']) for _ in range(length)]) |
||
| 7 |