So i am basically asking that i have a name and i need to split it into three parts and store it into three different variables using Python.
For example:
Name= "John Wayne Smith"
Then the desired output should be:
First name= John
Middle Name= Wayne
Last name = Smith
Additionally I want to put a check that if for some person middle name is not there then it should be blank.