kesha1225

Untitled

Aug 30th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. msg = 'кбот пиши 17544 здарова уебки'
  2. ch_id = int(msg.split()[2])
  3. msg = ''.join(word + ' ' for word in msg.split()[3:])
  4. print(ch_id)  # 17544
  5. print(msg)  # здарова уебки
Add Comment
Please, Sign In to add comment