Find first letter from a list or array in Python
This video will show you how a for loop can be used to iterate through a list of items and print out the first character from each item. I have also hashed out code in the video which would add those letters to a new list, but not shown the process for this here. The code could also be amended to find the first (or any) letter in a string.
This video will show you how a for loop can be used to iterate through a list of items and print out the first character from each item. I have also hashed out code in the video which would add those letters to a new list, but not shown the process for this here. The code could also be amended to find the first (or any) letter in a string.