Question: Write a function shampoo instructions ( ) with parameter numbeycles. If num _ eycles is less than 1 , print 'Too few: ' If more
Write a function shampoo instructions with parameter numbeycles. If numeycles is less than print 'Too few: If more than
print 'Too many': Else, print N : Lather and rinse. numcycles times, where Nis the cycle number, follawed by 'Done:
Sample output with input
: Lather and rinse,
: Lather and rinse.
Done.
Hint: Define and use a loco variable.
Learnhow our autograder works
l Your solution goes here
user cycles intinput
shimpooinstructionsusercycles
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
