Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

count upercase

def count_upper_case(str):
  uper_case_Count = 0
  for i in range(len(str)):
    if(str[i].isupper()):
      uper_case_Count += 1
  return uper_case_Count
n = input("text>>")
print(count_upper_case(n))
Source by github.com #
 
PREVIOUS NEXT
Tagged: #count #upercase
ADD COMMENT
Topic
Name
7+4 =