Question: Define a function that takes a list ( mylist ) as argument, then, performs the following tasks within the function: Merge all the strings in

Define a function that takes a list (mylist) as argument, then, performs the following tasks within the function:
Merge all the strings in the list into one string
write a code that counts how many 'a' characters in the string
return a dictionary: the keys should be called as mergedstring and numberofa and assign your findings respectively.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!