List

```python
names = [
    'Bobby C.Brown',
    'Chris Steven',
    'Jacob G, Smith',
    'John Paul Davis'
]

last = [n.split(' ')[-1] for n in names]
print(last)

#fString
name = 'Bob'
age = 34
s = f'{name} is {age} years old.'
print(s)


# unpacking
inputs = [
    'John',
    'Smith',
    'United States',
    'Blue',
    'Brown',
    29
]
first, last, *_,age = inputs

print(f'{first} {last} is {age} years old.')


```

Last updated