-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtranslater.py
More file actions
35 lines (35 loc) · 1006 Bytes
/
Copy pathtranslater.py
File metadata and controls
35 lines (35 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
txt = input('')
txt = txt.lower()
txt = txt.replace('q', 'й')
txt = txt.replace('w', 'ц')
txt = txt.replace('e', 'У')
txt = txt.replace('r', 'к')
txt = txt.replace('t', 'е')
txt = txt.replace('y', 'н')
txt = txt.replace('u', 'г')
txt = txt.replace('i', 'ш')
txt = txt.replace('o', 'щ')
txt = txt.replace('p', 'з')
txt = txt.replace('[', 'х')
txt = txt.replace(']', 'ъ')
txt = txt.replace('a', 'ф')
txt = txt.replace('s', 'ы')
txt = txt.replace('d', 'в')
txt = txt.replace('f', 'а')
txt = txt.replace('g', 'п')
txt = txt.replace('h', 'р')
txt = txt.replace('j', 'о')
txt = txt.replace('k', 'л')
txt = txt.replace('l', 'д')
txt = txt.replace(';', 'ж')
txt = txt.replace("'", 'э')
txt = txt.replace('z', 'я')
txt = txt.replace('x', 'ч')
txt = txt.replace('c', 'с')
txt = txt.replace('v', 'м')
txt = txt.replace('b', 'и')
txt = txt.replace('n', 'т')
txt = txt.replace('m', 'ь')
txt = txt.replace(',', 'б')
txt = txt.replace('.', 'ю')
print(txt)