Incomplete implementation

Report a typo

Your friend started writing an algorithm that takes a list of names and counts the number of names starting with a capital letter. Your friend is still learning Python and doesn't know how to complete this algorithm. Help your friend finish the implementation. You only need to finish the algorithm function, you do NOT need to work with the input data!

Don't forget to think about corner cases!

Sample Input 1:

Alice bob John

Sample Output 1:

2
Write a program in Python 3
def startswith_capital_counter(names):

for name in names:
# ...
___

Create a free account to access the full topic