(Use the programming language Python.)
Problem 1:
Use a while loop to ask a user for input five times. Each time, print the input.
Problem 2:
Use a while loop to ask a user for input five times. When the input is the exclamation point (!), terminate the loop. Otherwise, print the input.
Problem 3:
Use a while loop to continually ask a user for a positive three-digit integer. If the input is a positive three-digit integer, print it and terminate the loop. Otherwise, keep asking the user to enter a positive three-digit integer. Note: Assume the user’s input is a numerical value.
Problem 4:
Use a while loop to ask a user for input five times. Print every input that is not an asterisk symbol (*). When the input is an asterisk symbol (*), skip printing it.
Problem 5:
Use a while loop to continually ask a user for a positive three-digit integer. If the input is a positive three-digit integer, print it and terminate the loop. If the input is any other integer, continue to prompt the user for a positive three-digit integer. If the input is not an integer, print a message that reads “Invalid input!” before continue to prompt the user for a positive three-digit integer.