repl.it
@pieromqwerty/

.pfcb test

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
input = '01001000011001010110110001101100011011110010000001101101011110010010000001101110011000010110110101100101001000000110100101110011001000000111000001101001011001010111001001101111'

input = input.replace("1111", "7")
input = input.replace("0000", "6")
input = input.replace("111", "5")
input = input.replace("000", "4")
input = input.replace("11", "3")
input = input.replace("00", "2")

while (len(temp) > 0
temp = input[:1]
input = input[:1]
final =

print(input)