Skip to content

Commit 21058db

Browse files
authored
Update and rename lib-encoding.py to lib_encoding.py
1 parent ec7db93 commit 21058db

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

lib-encoding.py renamed to lib_encoding.py

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,21 @@ def encode(text):
6666
":": ";Gayone",
6767
";": ";<>",
6868

69+
"!": ";HoFinitoLeIdeeLOL",
70+
"|": ";QuantiCaratteriMancano?",
71+
"$": ";NonStoDelirandoGiuro",
72+
"#": ";OkayForse",
73+
"'": ";CreareStaCodifica_èStataUnaSfida",
74+
"\"": ";UnaSfidaControLaMiaSaluteMentaleLOL",
75+
"/": ";SoRetardato",
76+
"\\": ";WlaFiga",
77+
"<": ";boh_nonSoCheScrivere",
78+
">": ";meowMEOW_BITCH",
79+
")": ";miuw",
80+
"(": ";alfa",
81+
"&": ";SIUMTATTICOSO",
82+
"%": ";NoAllAlcolismo", # ho più birra che sangue in corpo btw
83+
6984
"1": ";KkA",
7085
"2": ";aAa",
7186
"3": ";hhH",
@@ -154,6 +169,21 @@ def decode(encoded_text):
154169
";Gayone": ":",
155170
";<>": ";",
156171

172+
";HoFinitoLeIdeeLOL": "!",
173+
";QuantiCaratteriMancano?": "|",
174+
";NonStoDelirandoGiuro": "$",
175+
";OkayForse": "#",
176+
";CreareStaCodifica_èStataUnaSfida": "'",
177+
";UnaSfidaControLaMiaSaluteMentaleLOL": "\"",
178+
";SoRetardato": "/",
179+
";WlaFiga": "\\",
180+
";boh_nonSoCheScrivere": "<",
181+
";meowMEOW_BITCH": ">",
182+
";miuw": ")",
183+
";alfa": "(",
184+
";SIUMTATTICOSO": "&",
185+
";NoAllAlcolismo": "%" # ho più birra che sangue in corpo btw
186+
157187
";KkA": "1",
158188
";aAa": "2",
159189
";hhH": "3",
@@ -180,12 +210,3 @@ def decode(encoded_text):
180210
except Exception as e:
181211
print(f"An error occurred: {e}")
182212
return None
183-
184-
print("Encode: 1\nDecode: 2")
185-
var = input("Select >>> ")
186-
if(var == "1"):
187-
ivar = input("text >>> ")
188-
print(encode(ivar))
189-
else:
190-
ivar1 = input("text >>> ")
191-
print(decode(ivar1))

0 commit comments

Comments
 (0)