[SOLVED] Write a function called "findics" in python

15.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

Write a function called “findics” which takes a string as an argument and returns True if that string contains “ics” where “ics” must be preceded by a single digit, 0 through 9. For example, your function should return True for the string “ffff2icsand” but it should return False for the string “fffficsand”

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.