malachijwilson5
24.11.2019 •
History
President roosevelt was related to a man who had served as president of the united states before him. who was that man, and how were the two men related?
Solved
Show answers
More tips
- F Family and Home How to Choose Suitable Windows for Your Home?...
- C Computers and Internet Why is Yandex s robot Bless.yandex.ru Important?...
- F Food and Cooking Fresh and Easy Lemonade in 10 Minutes...
- S Sport How to wrap boxing hand wraps? Everything you need to know!...
- F Family and Home How to Sew Curtain Tapes: Best Tips from Professionals...
- A Animals and plants How to Grow Lime from a Seed: Simple Tips and Interesting Facts...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
Answers on questions: History
- H History Children in homes where domestic violence occurs are: less likely to be abused or neglected than children who live in homes where no domestic violence occurs. much...
- M Mathematics How many times does the digit 6 appear in the numbers between 1 to 99 I’m suffering ...
- C Chemistry Acopper wire (density=8.96g/cm3) has a diameter of 0.25 mm. if a sample of this copper wire has a mass of 22g, how long is the wire ?...
Ответ:
def shampoo_instructions(num_cycles):
#Check the cycles to be greater than 1.
if num_cycles < 1:
#Display the statement.
print('Too few.')
#Check the cycles to be greater than 4.
elif num_cycles > 4:
#Display the statement.
print('Too many.')
#The else part.
else:
#Initialize the variable.
N = 1;
#Begin the for loop.
for N in range(N, num_cycles+1):
#Print the result.
print(N , ": Lather and rinse.")
#Print the statement.
print('Done.')
#Call the function.
shampoo_instructions(2)
Explanation: