Created
April 28, 2020 06:44
-
-
Save computer-tutor/96b98ab44d056546e111d1678195dd7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = open('Article.txt','r') | |
c_up=0 | |
ch = f.read(1) | |
while ch: | |
ch=f.read(1) | |
if ch.isupper(): | |
c_up+=1 | |
print("Number of Uppercase alphabets is/are:",c_up) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment