demo ore wa shinitakunai...
asd = 5
for i in range (10):
for i in range (10):
for i in range (10):
for i in range (10):
for i in range (10):
for i in range (10):
for element in range (10):
if asd = element:
print('True')
class Message:
def __init__(self, message):
self.text = message
self.translated_text = self.translate(self.text)
def translate(self, text):
rs = ['п', 'р', 'и', 'в', 'е','т']
en = ['p', 'r', 'i', 'v', 'e', 't']
ss = (rs, en)
cc = {r: e for r, e in zip(*ss)}
trans = ''.join([cc[i] for i in text])
return trans
def show(self):
print(self.translated_text)
chat_message1 = Message('привет')
chat_message1.show()