lolimoska

Untitled

May 29th, 2021
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. d = {"à": "а", "á": "б",'â':'в','ã':'г','ä':'д','å':'е','¸':'ё','æ':'ж','ç':'з','è':'и','é':'й','ê':'к','ë':'л','ì':'м','í':'н','î':'о','ï':'п','ð':'р','ñ':'с','ò':'т','ó':'у','ô':'ф','õ':'х','ö':'ц','ø':'ш','ù':'щ','ü':'ь','ú':'ъ','ý':'э','þ':'ю','ÿ':'я','÷':'ч'}
  2. for x, y in d.items():
  3. string = string.replace(x, y)
  4. print(string)
Add Comment
Please, Sign In to add comment