How to solve the code, from a given string, print the string in all uppercase if the number of uppercase is more than lowercase letters? Otherwise if lowercase is greater or equal
How to write a Python function that accepts a string and calculate the number of upper case letters and lower case letters - Quora
![write a python program to accept a string and print the number of uppercase, lower case, vowel, consonants, and spaces in the given string using class | by Srinidhi.R | Medium write a python program to accept a string and print the number of uppercase, lower case, vowel, consonants, and spaces in the given string using class | by Srinidhi.R | Medium](https://miro.medium.com/max/1056/1*R0oDiHkrKREx5qtnVlR6OA.png)