String 1. From a given string, print the string in all uppercase if the number of uppercase letters is more than lowercase letters. Otherwise, if lowercase is greater or equal to uppercase letters,...


write python code. Remember that you are not allowed to use .upper() and .lower()


String<br>1. From a given string, print the string in all uppercase if the number of uppercase<br>letters is more than lowercase letters. Otherwise, if lowercase is greater or equal<br>to uppercase letters, print all lowercase. The inputs will contain letters (A-Z, a-z)<br>only.<br>Sample Input<br>Sample Output<br>HOusE<br>HOUSE<br>ApplE<br>apple<br>BaNaNa<br>banana<br>

Extracted text: String 1. From a given string, print the string in all uppercase if the number of uppercase letters is more than lowercase letters. Otherwise, if lowercase is greater or equal to uppercase letters, print all lowercase. The inputs will contain letters (A-Z, a-z) only. Sample Input Sample Output HOusE HOUSE ApplE apple BaNaNa banana

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here