m a beginner and am having trouble with this question: Create a function that receives a string input from the user and returns the number of upper case letters, lower case letters, as well as converting the string to Title Case. The input and print commands should be part of the main program. should use str.islower(), str.isupper(), str.istitle() What I have tried: #Enter user input string = input("Please enter a string: ") def count(string): d = {"upper":0, "lower":0} #Monitor upper and lower case count for str in string: if str.isupper(): d["upper"]+=1 elif str.islower(): d["lower"]+=1 else: pass
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)