IDNLearn.com is the perfect place to get answers, share knowledge, and learn new things. Find in-depth and trustworthy answers to all your questions from our experienced community members.
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.
We appreciate your presence here. Keep sharing knowledge and helping others find the answers they need. This community is the perfect place to learn together. Your search for answers ends at IDNLearn.com. Thank you for visiting, and we hope to assist you again soon.