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
![Invasive pythons in Colorado? Map shows where these sizable serpents could end up | OutThere Colorado Invasive pythons in Colorado? Map shows where these sizable serpents could end up | OutThere Colorado](https://bloximages.newyork1.vip.townnews.com/outtherecolorado.com/content/tncms/assets/v3/editorial/9/69/96997fc0-230a-11ed-962c-9b08ce8c41f3/630511024b290.image.jpg?resize=853%2C500)
Invasive pythons in Colorado? Map shows where these sizable serpents could end up | OutThere Colorado
![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
![pep8 - Logic behind why python variables should be lowercase in functions but outside functions not necessarily - Stack Overflow pep8 - Logic behind why python variables should be lowercase in functions but outside functions not necessarily - Stack Overflow](https://i.stack.imgur.com/YqK7j.png)
pep8 - Logic behind why python variables should be lowercase in functions but outside functions not necessarily - Stack Overflow
How to write a Python function that accepts a string and calculate the number of upper case letters and lower case letters - Quora
![Python: Count Uppercase, Lowercase, special character and numeric values in a given string - w3resource Python: Count Uppercase, Lowercase, special character and numeric values in a given string - w3resource](https://www.w3resource.com/w3r_images/python-data-type-string-exercise-flowchart-73.png)