[Solved] How do I select random text on screen [closed]
You can use the partition method for this. It’s part of the built-in str type. >>> help(str.partition) partition(self, sep, /) Partition the string into three parts using the given separator. This will search for the separator in the string. If the separator is found, returns a 3-tuple containing the part before the separator, the separator … Read more