793827 - Notepad File Edit Format View Help The Double Helix By James D. Watson I have never seen Francis Crick in a modest mood. It has nothing to do with his present fame. Perhaps in other company...

Write two programs for the following in python.793827 - Notepad<br>File<br>Edit Format View Help<br>The Double Helix<br>By James D. Watson<br>I have never seen Francis Crick in a modest mood.<br>It has nothing to do with his present fame.<br>Perhaps in other company he is that way but I have never had reason so to judge him.<br>Already he is much talked about, usually with reverence,<br>and someday he may be considered in the company of Rutherford or Bohr.<br>But this was not true when, in the fall of 1951, I came to the Cavedish Laboratory<br>

Extracted text: 793827 - Notepad File Edit Format View Help The Double Helix By James D. Watson I have never seen Francis Crick in a modest mood. It has nothing to do with his present fame. Perhaps in other company he is that way but I have never had reason so to judge him. Already he is much talked about, usually with reverence, and someday he may be considered in the company of Rutherford or Bohr. But this was not true when, in the fall of 1951, I came to the Cavedish Laboratory
Problem 1. Character Analysis-Use the file text.txt that is attached. Write a program that<br>reads the file's contents and determines the following:<br>The number of uppercase letters in the file<br>The number of lowercase letters in the file<br>The number of digits in the file<br>The number of whitespace characters in the file<br>Output should look like this:<br>Uppercase letters: 20<br>Lowercase letters: 310<br>Digits: 4<br>Spaces: 82<br>>>><br>Hint: This program does not need to use any lists - the entire file can be read into one string.<br>Problem 2. Date Printer - Write a program that reads a string from the user containing a date<br>in the form mm/dd/yyyy. It should print the date in the format March 12, 2018.<br>Sample dialog:<br>Enter a date in the format mm/dd/yyyy: 01/16/2018<br>January 16, 2018<br>You should have 2.py files<br>

Extracted text: Problem 1. Character Analysis-Use the file text.txt that is attached. Write a program that reads the file's contents and determines the following: 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 entire file can be read into one string. Problem 2. Date Printer - Write a program that reads a string from the user containing a date in the form mm/dd/yyyy. It should print the date in the format March 12, 2018. Sample dialog: Enter a date in the format mm/dd/yyyy: 01/16/2018 January 16, 2018 You should have 2.py files
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here