Question: 8. Write a function that counts the number of occurrence of a specific character in a string. input: str, str output: int 9. Write a

 8. Write a function that counts the number of occurrence ofa specific character in a string. input: str, str output: int 9.

8. Write a function that counts the number of occurrence of a specific character in a string. input: str, str output: int 9. Write a function to get the Python version you are using. input: None Type output: str 10. Write a function that will take in a list of email addresses and return the domain and extension of each. If there are multiple emails with the same domain and extension, do not duplicate in your list. For example, if the emails passed are: ['testOne@gmail.com', 'testTwo@gmail.com', 'testThree@yahoo.com'] then your function should just return: ['gmail.com', 'yahoo.com'] input: list output: list

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!