Don't call the function wrongly
>>> "hello world".split()
['hello', 'world']
split cuts a string by a space by default, however, you can change this behavior:
>>> "hello, world".split(',')
['hello', ' world']
In your case:
a,b= input("Please enter two digits separated by space").split()
Want to know more information about Python? Join the Python course fast!