Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Discover comprehensive answers to your questions from knowledgeable professionals on our user-friendly platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

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.


1
2
3
4user_cycles = int(input())
5shampoo_instructions(user_cycles)