split python function code example
Example 1: python split string on char
>>> "MATCHES__STRING".split("__")
['MATCHES', 'STRING']
Example 2: python split string
UserInputs = []
UserInputs = input().split()
>>> "MATCHES__STRING".split("__")
['MATCHES', 'STRING']
UserInputs = []
UserInputs = input().split()