Question: ary > CSE 1 2 8 4 : Introduction to Computer Programming home > 2 . 1 0 : Modules zyBooks catalog CHALLENGE ACTIVITY 2
ary CSE : Introduction to Computer Programming home : Modules
zyBooks catalog
CHALLENGE
ACTIVITY
: Modules.
qxzqy
Jump to level
Perform the following tasks:
Assign hasperson with the value returned by search's find called with onesentence and persons's searchlist as the arguments, respectively.
Assign hascolorandclothing with the value returned by combining the following, using logical AND:
search's find called with onesentence and colors's searchlist as the arguments, respectively.
search's find called with onesentence and clothing's searchlist as the arguments, respectively.
Click here for example
tablemainpypersons.pycolors.pyclothing.py
import persons
import colors
import clothing
import search
onesentence input
I Your code goes here
if hasperson:
printThe sentence mentions a person.
if hascolorandclothing:
printThe sentence mentions a color and a piece of clothing.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
