split method function python code example Example: python split string UserInputs = [] UserInputs = input().split()