subject

Write a program to read a text file. determine if the character is uppercase, lowercase, a digit, or space, and keep a running total of each.

hints

define main() program

declare variables

save the given data file under the same folder as your program file is.

open file

use a for loop to read data and verify with if statement or if/elif statement

print out the total of is uppercase, lowercase, a digit, and space characters in the file

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
When you collaborate or meet with a person or group online, it is called
Answers: 1
question
Computers and Technology, 22.06.2019 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 24.06.2019 05:00
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
You are most likely to automatically encode information about
Answers: 1
You know the right answer?
Write a program to read a text file. determine if the character is uppercase, lowercase, a digit, or...
Questions
question
Mathematics, 26.06.2019 22:30
Questions on the website: 13722363