СИ
keysss = ["напиши сообщение"]
# key1 = ["%20"]
key2 = [:3]
# for i in keysss:
# text = text.replace(i, '')
# text = text.strip()
# for i in key1:
# text = text.replace(i, '')
# text = text.strip()
Size: a a a
СИ
FS
FS
print('abc'[:2])
>>>abСИ
FS
СИ
FS
СИ
СИ
СИ
if "напиши сообщение" in text:
keysss = ["напиши сообщение"]
key1 = ["%20"]
text2 = text[:2]
for i in keysss:
text = text.replace(i, '')
text = text.strip()
for i in key1:
text = text.replace(i, '')
text = text.strip()
for i in text:
text = text.replace(i, '[:2]')
text = text.strip()
webbrowser.open(
f'https://vk.com/im?peers=&q={text2}')СИ
СИ
if "напиши сообщение" in text:
keysss = ["напиши сообщение"]
key1 = ["%20"]
text2 = text[:2]
for i in keysss:
text = text.replace(i, '')
text = text.strip()
for i in key1:
text = text.replace(i, '')
text = text.strip()
webbrowser.open(
f'https://vk.com/im?peers=&q={text2}')СИ
FS
СИ
СИ