### 11 / 22 / 2020
### Elijah Oleary
### Looping Through a Slice

# Looping through a slice with a for loop

names = ['brandon', 'ruby', 'elijah', 'daniel']
print("Here are the names of the last 3 registrations.")
for name in names[:3]:
    print(name.title())