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

(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”].

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp