How to write a Python function that accepts a string and calculate the number of upper case letters and lower case letters - Quora
![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
![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)