[Solved]-Python Strings Problem 1 Character Analysis Use File Texttxt Attached Blackboard Write Pro Q37225655
In Python: Strings
Problem 1. Character Analysis –Use the filetext.txt that is attached to Blackboard. Write aprogram that reads the file’s contents and determines thefollowing:
The number of uppercase letters in the file
The number of lowercase letters in the file
The number of digits in the file
The number of whitespace characters in the file
Output should look like this:
Uppercase letters: 20
Lowercase letters: 310
Digits: 4
Spaces: 82
>>>
Hint: This program does not need to use any lists – the entirefile can be read into one string.
Problem 2. Date Printer – Write a program thatreads a string from the user containing a date in the formmm/dd/yyyy. It should print the date in the formatMarch 12, 2018.
Sample dialog:
Enter a date in the format mm/dd/yyyy: 02/16/2018
Febuary 16, 2018
You should have 2 .py files to turn in.
Expert Answer
Answer to In Python: Strings Problem 1. Character Analysis –Use the file text.txt that is attached to Blackboard. Write a progra… . . .
OR

