Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This function accepts one a list of string and returns the first character of the last string
- def first_letter_of_last_string(lists):
- print(lists[-1][0])
- first_letter_of_last_string(["Orange", "Pineapple", "apple"])
- first_letter_of_last_string(["Python"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement