Given a test string, please switch this string to lower and calculate frequency of each character

Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters.

Write a function that accepts a sentence and calculate the number of letters and digits.

請先 登入 以發表留言。