Write a Python function that accepts a string and calculates the number of uppercase letters and lowercase letters. Sample String : 'The quick Brown Fox' Expected Output : No. of Uppercase characters : 3 No. of Lowercase Characters : 12 code example
Example: python 3 calculate uppercase lowercase letter
world = input()
upper,lower = 0,0
for i in world:
upper+=i.isupper()
lower+=i.islower()
print("UPPER CASE {0}\nLOWER CASE {1}".format(upper,lower))