Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''function to return the first letter
- of the last element in a list of strings'''
- def first_letter_of_last_string(lstrings):
- return lstrings[-1][0]
- first_letter_of_last_string([])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement