Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

in python using import sys Create a program called capCount.py that has a function that takes in a string and prints the number of capital letters in the first line, then prints the sum of their indices in the second line.