File tree 2 files changed +11
-3
lines changed 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 39
39
"request" : " launch" ,
40
40
"program" : " emoticon.py" ,
41
41
"console" : " integratedTerminal"
42
+ },
43
+ {
44
+ "name" : " Select file" ,
45
+ "type" : " python" ,
46
+ "request" : " launch" ,
47
+ "program" : " ${file}" ,
48
+ "console" : " integratedTerminal"
42
49
}
43
- ]
50
+ ]
44
51
}
Original file line number Diff line number Diff line change 15
15
#
16
16
emoticons = [
17
17
';)' , # 00111011 00101001
18
- '8)' # 00111000 00101001
18
+ '8)' # 00111000 00101001
19
+ # ^^----- all bits are the same, except for these two.
19
20
]
20
21
21
22
def decode_binary_string (s ):
@@ -71,7 +72,7 @@ def main():
71
72
# Decode the bits into ASCII characters (8 bits [1 byte] per character).
72
73
result = decode_binary_string (key )
73
74
results += result
74
-
75
+
75
76
# Print the output, random result of emoticon1 or emotion2!
76
77
if i > 0 and i % 80 == 0 :
77
78
print ('' .join (results ))
You can’t perform that action at this time.
0 commit comments