Answered You can hire a professional tutor to get the answer.

QUESTION

(python) write a function that takes, as arguments, two strings: myString and charString, and is called problem3(myString, charString).

(python) write a function that takes, as arguments, two strings: myString and charString, and is called problem3(myString, charString). For each letter in charString, count the number of times that it appears in myString (and is case sensitive) and returns the result in the form of a list indicating the individual count values as shown in the example:

>>>problem3("all is quiet on the western front", "tqe")

should return the list ["t=4", "q=1", "e=4"].

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question