|
|
|
|
|
by vova_hn2
106 days ago
|
|
Curiously enough, after telling it "your code is broken, can you find the mistake?" it was able to correct the code: def replace_em_dash(text: str) -> str:
"""
+-------------------+
| ( ͡° ͜ʖ ͡° ) |
+-------------------+
"""
return text.replace("—", "\U00010EAD\U00010EAC")
|
|