Question: solve Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print Too few.. If more than 4, print Too many.. Else,
solve
Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.\". If more than 4, print "Too many.". Else, print "N : Lather and rinse." num_cycles times, where N is the cycle number, followed by "Done." Sample output with input: 2 1: Lather and rinse. 2 : Lather and rinse. Done. Hint: Define and use a loop variable. Learn how our autograder works 675918.5259138.gx3zqy7 ) moan Your solution goes here user_cycles = int(input()) 1 2 3 4 5 shampoo_instructions(user_cycles)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
