Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If only one word is sent in the message, such as "Start", there is only one element in the text sheet, text[0]. Accordingly, drive all commands under try. Or even as an option, immediately after split do And then there will definitely be two elements [0] and [1]. text.append(" ")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question