I am using the .isalpha function to take an input of a name. It is working but whenever i put on space between name for example a full name **John Doe** It gives me error.

**What ive Tried so far** 

```
 while not name.isalpha():
    print('Entered Name is invalid')
    name = input('Please Enter Your Name Sir:     ')
 if name.isalpha()  or name.isspace():
    print('Hello Mr.' + name)
    select_mmenu('main-menu.txt')

```

I've tried combining .isalpha and .isspace but it seems not to be working. Need the most simple way to solve this trick