Question: Problem 1 Use a while loop to ask a user for input three times. Each time, print the input. Problem 2 Use a while loop

Problem 1 Use a while loop to ask a user for input three times. Each time, print the input. Problem 2 Use a while loop to ask a user for input three times. When the input is the question mark (?), terminate the loop. Otherwise, print the input. Problem 3 Use a while loop to continually ask a user for a positive two-digit integer. If the input is a positive two-digit integer, print it and terminate the loop. Otherwise, keep asking the user to enter a positive two-digit integer. Note: Assume the user always enters an integer. Problem 4 Use a while loop to ask a user for input three times. Print every input that is not an exclamation point (!). When the input is an exclamation point (!), skip printing it. Problem 5 Use a while loop to continually ask a user for a positive two-digit integer. If the input is a positive two-digit integer, print it and terminate the loop. If the input is any other integer, continue to prompt the user for a positive two-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 two-digit integer. Hint: Use try-except-else to determine if the input is an integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
