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
![Python String Methods: str(), upper(), lower(), count(), find(), replace() & len() • The Hello World Program Python String Methods: str(), upper(), lower(), count(), find(), replace() & len() • The Hello World Program](https://thehelloworldprogram.com/static/77f5d5ffafc2d2162ab7ceba016faeb3/0d359/20140916_python4.3_string_methods.png)
Python String Methods: str(), upper(), lower(), count(), find(), replace() & len() • The Hello World Program
![Python: Convert a string to all uppercase if it contains at least 2 uppercase characters in the first 4 characters - w3resource Python: Convert a string to all uppercase if it contains at least 2 uppercase characters in the first 4 characters - w3resource](https://www.w3resource.com/w3r_images/python-data-type-string-exercise-21.png)
Python: Convert a string to all uppercase if it contains at least 2 uppercase characters in the first 4 characters - w3resource
![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/v2/resize:fit:1400/1*hOO1XXnQj9w0Lm7NW6TB2Q.png)