b) A Python function named find, which takes a string and a…

Question Answered step-by-step b) A Python function named find, which takes a string and a… b) A Python function named find, which takes a string and a character as its parameters and returns True if the character is found in the string; otherwise, it returns False. Write a small code to test this function.  c)  A Python function named find, which takes a list and a value as its parameters and returns True if the value is found in the list; otherwise, it returns False. Write a small code to test this function.  d) Depending on how you implemented the two functions in b) and c), you may notice that the structures of these two functions can be very similar or even identical with each other. Write a Python function named find, which takes two parameters: the first parameter represents a sequence, and the second parameter represents an item in the sequence. The function returns True if the second parameter (the item) is found in the first parameter (the sequence). Otherwise, it returns False. Write a small code to test this function using a string, a list, and an array as the sequence respectively Computer Science Engineering & Technology Python Programming ICT 582 Share QuestionEmailCopy link Comments (0)