Counting capital letters

Question

Using Python, write code that will read a file and return the number of capital letters.

Once you have your initial piece of code, see if you can condense into a one-liner.

Solution

Access restricted

Subscribe to premium account to see the solution.

Get premium now