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.
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.