<p>ok so basically I am asking the question of their name
I want this to be one input rather than Forename and Surname.</p>

<p>Now is there any way of splitting this name? and taking just the last word from the "Sentence" e.g.</p>

<pre><code>name = "Thomas Winter"
print name.split() 
</code></pre>

<p>and what would be output is just "Winter"</p>

Like this:
```
```
print name.split()[-1]
```
```