Question: python Q3 (2 points) Create a function space_lower_upper_count that accepts a string and returns a dictionary that contains the count for spaces, upper and lower
python
Q3 (2 points) Create a function space_lower_upper_count that accepts a string and returns a dictionary that contains the count for spaces, upper and lower case characters in that string. For example "Texas State" should get {'spaces":1,'lower': 8, 'upper': 2). In [ ]: # write your code here: Q4. (2 points) In [ ]: * run this code first ! pip3 install COVID19PY In [ ]: # run this code as well. import COVID19Py covid19 = COVID19PY.COVID19() location = covid19.getLocationByCountryCode ("US") print(location) Based on the above data, find covid-19 infection rate and death rate? In [ ]: # infection rate: In [ ]: #death rate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
