subject

Using Python 3, I need a function that takes as a parameter a string and returns a dictionary that tabulates how many of each letter is in that string and does not count spaces. The string should contain characters other than letters, but it will only count the letters(it will not count numbers or spaces). The string could even be the empty string (just ""). Lower-case and upper-case versions of a letter should be part of the same count. The keys of the dictionary should be upper-case letters. If a letter does not appear in the string, then it would not get added to the dictionary. If the string is: "AaBb278"
then the dictionary that is returned should contain these key-value pairs:

{'A': 2, 'B': 2}
Do not use the isalpha() funciton, the collection method or the import method.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
question
Computers and Technology, 24.06.2019 11:40
100 pts. first person gets brainliest
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Which one of the following functions is not available on the autosum tool? sum average if max
Answers: 3
You know the right answer?
Using Python 3, I need a function that takes as a parameter a string and returns a dictionary that t...
Questions
question
English, 13.08.2021 15:40
question
Social Studies, 13.08.2021 15:40
question
Mathematics, 13.08.2021 15:40
question
Mathematics, 13.08.2021 15:40
Questions on the website: 13722367